Class XYAreaLineChartExpression
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.function.AbstractExpression
-
- org.pentaho.plugin.jfreereport.reportcharts.AbstractChartExpression
-
- org.pentaho.plugin.jfreereport.reportcharts.XYChartExpression
-
- org.pentaho.plugin.jfreereport.reportcharts.XYLineChartExpression
-
- org.pentaho.plugin.jfreereport.reportcharts.XYAreaChartExpression
-
- org.pentaho.plugin.jfreereport.reportcharts.XYAreaLineChartExpression
-
- All Implemented Interfaces:
Serializable
,Cloneable
,ChartExpression
,MultiPlotChartExpression
,org.pentaho.reporting.engine.classic.core.DynamicExpression
,org.pentaho.reporting.engine.classic.core.function.Expression
,org.pentaho.reporting.engine.classic.core.LegacyUpdateHandler
public class XYAreaLineChartExpression extends XYAreaChartExpression implements MultiPlotChartExpression
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.pentaho.plugin.jfreereport.reportcharts.AbstractChartExpression
EMPTY_STROKE, LINE_STYLE_DASH_STR, LINE_STYLE_DASHDOT_STR, LINE_STYLE_DASHDOTDOT_STR, LINE_STYLE_DOT_STR, LINE_STYLE_SOLID_STR
-
-
Constructor Summary
Constructors Constructor Description XYAreaLineChartExpression()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.jfree.chart.JFreeChart
computeXYChart(org.jfree.data.xy.XYDataset xyDataset)
protected void
configureChart(org.jfree.chart.JFreeChart chart)
protected void
configureLineChart(org.jfree.chart.plot.XYPlot plot)
protected int
getDateUnitAsInt(Class domainTimePeriod)
org.pentaho.reporting.engine.classic.core.function.Expression
getInstance()
Return a completly separated copy of this function.double
getLinePeriodCount()
Double
getLineRangeMaximum()
Double
getLineRangeMinimum()
String[]
getLineSeriesColor()
String
getLineSeriesColor(int index)
int
getLineSeriesColorCount()
Font
getLinesLabelFont()
Font
getLinesTickLabelFont()
Font
getLineTickFont()
String
getLineTicksLabelFormat()
Class
getLineTimePeriod()
Font
getLineTitleFont()
String
getSecondaryDataSet()
String
getSecondValueAxisLabel()
boolean
isLineAxisAutoRange()
boolean
isLineAxisIncludesZero()
boolean
isLineAxisStickyZero()
boolean
isSharedRangeAxis()
void
setLineAxisAutoRange(boolean lineAxisAutoRange)
void
setLineAxisIncludesZero(boolean lineAxisIncludesZero)
void
setLineAxisStickyZero(boolean lineAxisStickyZero)
void
setLinePeriodCount(double linePeriodCount)
void
setLineRangeMaximum(Double lineRangeMaximum)
void
setLineRangeMinimum(Double lineRangeMinimum)
void
setLineSeriesColor(int index, String field)
void
setLineSeriesColor(String[] fields)
void
setLinesLabelFont(Font linesLabelFont)
void
setLinesTickLabelFont(Font linesTickLabelFont)
void
setLineTickFont(Font lineTickFont)
void
setLineTicksLabelFormat(String lineTicksLabelFormat)
void
setLineTimePeriod(Class lineTimePeriod)
void
setLineTitleFont(Font lineTitleFont)
void
setSecondaryDataSet(String dataset)
void
setSecondValueAxisLabel(String secondValueAxisLabel)
void
setSharedRangeAxis(boolean sharedRangeAxis)
-
Methods inherited from class org.pentaho.plugin.jfreereport.reportcharts.XYAreaChartExpression
createStackedXYAreaChart, createTimeSeriesChart
-
Methods inherited from class org.pentaho.plugin.jfreereport.reportcharts.XYLineChartExpression
getLineStyle, getLineWidth, isMarkersVisible, setLineStyle, setLineWidth, setMarkersVisible
-
Methods inherited from class org.pentaho.plugin.jfreereport.reportcharts.XYChartExpression
addSubTitle, computeChart, computePlotOrientation, configureLogarithmicAxis, convertToTable, convertToTable, getBorderPaint, getChart, getDomainMaximum, getDomainMinimum, getDomainPeriodCount, getDomainTickFont, getDomainTickFormat, getDomainTickFormatString, getDomainTimePeriod, getDomainTitle, getDomainTitleFont, getPlotBackgroundColor, getPlotBackgroundPaint, getRangeMaximum, getRangeMinimum, getRangePeriodCount, getRangeTickFont, getRangeTickFormat, getRangeTickFormatString, getRangeTimePeriod, getRangeTitle, getRangeTitleFont, getSubtitles, getTitlePosition, getTitlePositionText, isBorderVisible, isDisplayLabels, isDomainAxisAutoRange, isDomainIncludesZero, isDomainStickyZero, isDomainVerticalTickLabels, isHorizontal, isHumanReadableLogarithmicFormat, isLogarithmicAxis, isRangeAxisAutoRange, isRangeIncludesZero, isRangeStickyZero, isStacked, reconfigureForCompatibility, setBorderPaint, setBorderVisible, setDomainAxisAutoRange, setDomainIncludesZero, setDomainMaximum, setDomainMinimum, setDomainPeriodCount, setDomainStickyZero, setDomainTickFont, setDomainTickFormat, setDomainTickFormatString, setDomainTimePeriod, setDomainTitle, setDomainTitleFont, setDomainVerticalTickLabels, setHorizontal, setHumanReadableLogarithmicFormat, setLogarithmicAxis, setPlotBackgroundColor, setPlotBackgroundPaint, setRangeAxisAutoRange, setRangeIncludesZero, setRangeMaximum, setRangeMinimum, setRangePeriodCount, setRangeStickyZero, setRangeTickFont, setRangeTickFormat, setRangeTickFormatString, setRangeTimePeriod, setRangeTitle, setRangeTitleFont, setStacked, setTitlePosition, setTitlePositionText
-
Methods inherited from class org.pentaho.plugin.jfreereport.reportcharts.AbstractChartExpression
addExpression, computeTitle, getBackgroundColor, getBackgroundImage, getBorderColor, getChartDirectory, getChartFile, getChartFromCache, getChartHeight, getChartUrlMask, getChartWidth, getColorFromString, getDataSource, getDependencyLevel, getExpressionMap, getHyperlinkFormulas, getItemLabelFont, getItemsLabelVisible, getLabelFont, getLegendBackgroundColor, getLegendFont, getLegendLocation, getLegendTextColor, getNoDataMessage, getPlotBackgroundAlpha, getPlotForegroundAlpha, getPossibleExpressionStringValue, getPostProcessingLanguage, getPostProcessingScript, getSeriesColor, getSeriesColor, getSeriesColorCount, getSeriesColors, getTitle, getTitleField, getTitleFont, getTitleText, getTooltipFormula, getUrlFormula, getValue, isAntiAlias, isChartSectionOutline, isDrawLegendBorder, isReturnFileNameOnly, isReturnImageReference, isShowBorder, isShowLegend, isThreeD, isUseDrawable, loadChartFromCache, parseColorFromString, postProcessChart, putChartInCache, removeExpression, setAntiAlias, setBackgroundColor, setBackgroundImage, setBorderColor, setChartDirectory, setChartFile, setChartHeight, setChartSectionOutline, setChartUrlMask, setChartWidth, setDataSource, setDependencyLevel, setDrawLegendBorder, setExpressionMap, setItemLabelFont, setItemsLabelVisible, setLabelFont, setLegendBackgroundColor, setLegendFont, setLegendLocation, setLegendTextColor, setNoDataMessage, setPlotBackgroundAlpha, setPlotForegroundAlpha, setPostProcessingLanguage, setPostProcessingScript, setReturnFileNameOnly, setReturnImageReference, setSeriesColor, setSeriesColor, setShowBorder, setShowLegend, setThreeD, setTitle, setTitleField, setTitleFont, setTitleText, setTooltipFormula, setUrlFormula, setUseDrawable, standardTickUnitsApplyFormat, storeChartInCache, translateEdge, translateLineStyle
-
Methods inherited from class org.pentaho.reporting.engine.classic.core.function.AbstractExpression
clone, getDataRow, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, isActive, isDeepTraversing, isPreserve, setActive, setName, setPreserve, setRuntime
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.pentaho.plugin.jfreereport.reportcharts.ChartExpression
getDataSource, getHyperlinkFormulas, setDataSource
-
-
-
-
Method Detail
-
isLineAxisIncludesZero
public boolean isLineAxisIncludesZero()
-
setLineAxisIncludesZero
public void setLineAxisIncludesZero(boolean lineAxisIncludesZero)
-
isLineAxisStickyZero
public boolean isLineAxisStickyZero()
-
setLineAxisStickyZero
public void setLineAxisStickyZero(boolean lineAxisStickyZero)
-
getLineTitleFont
public Font getLineTitleFont()
-
setLineTitleFont
public void setLineTitleFont(Font lineTitleFont)
-
getLineTickFont
public Font getLineTickFont()
-
setLineTickFont
public void setLineTickFont(Font lineTickFont)
-
getLineRangeMinimum
public Double getLineRangeMinimum()
-
setLineRangeMinimum
public void setLineRangeMinimum(Double lineRangeMinimum)
-
getLineRangeMaximum
public Double getLineRangeMaximum()
-
setLineRangeMaximum
public void setLineRangeMaximum(Double lineRangeMaximum)
-
getLinePeriodCount
public double getLinePeriodCount()
-
setLinePeriodCount
public void setLinePeriodCount(double linePeriodCount)
-
getLineTimePeriod
public Class getLineTimePeriod()
-
setLineTimePeriod
public void setLineTimePeriod(Class lineTimePeriod)
-
isSharedRangeAxis
public boolean isSharedRangeAxis()
-
setSharedRangeAxis
public void setSharedRangeAxis(boolean sharedRangeAxis)
-
getInstance
public org.pentaho.reporting.engine.classic.core.function.Expression getInstance()
Return a completly separated copy of this function. The copy does no longer share any changeable objects with the original function.- Specified by:
getInstance
in interfaceorg.pentaho.reporting.engine.classic.core.function.Expression
- Overrides:
getInstance
in classXYChartExpression
- Returns:
- a copy of this function.
-
getSecondaryDataSet
public String getSecondaryDataSet()
- Specified by:
getSecondaryDataSet
in interfaceMultiPlotChartExpression
-
setSecondaryDataSet
public void setSecondaryDataSet(String dataset)
- Specified by:
setSecondaryDataSet
in interfaceMultiPlotChartExpression
-
getSecondValueAxisLabel
public String getSecondValueAxisLabel()
-
setSecondValueAxisLabel
public void setSecondValueAxisLabel(String secondValueAxisLabel)
-
getLinesLabelFont
public Font getLinesLabelFont()
-
setLinesLabelFont
public void setLinesLabelFont(Font linesLabelFont)
-
getLinesTickLabelFont
public Font getLinesTickLabelFont()
-
setLinesTickLabelFont
public void setLinesTickLabelFont(Font linesTickLabelFont)
-
getLineTicksLabelFormat
public String getLineTicksLabelFormat()
-
setLineTicksLabelFormat
public void setLineTicksLabelFormat(String lineTicksLabelFormat)
-
setLineSeriesColor
public void setLineSeriesColor(int index, String field)
-
getLineSeriesColor
public String getLineSeriesColor(int index)
-
getLineSeriesColorCount
public int getLineSeriesColorCount()
-
getLineSeriesColor
public String[] getLineSeriesColor()
-
setLineSeriesColor
public void setLineSeriesColor(String[] fields)
-
computeXYChart
protected org.jfree.chart.JFreeChart computeXYChart(org.jfree.data.xy.XYDataset xyDataset)
- Overrides:
computeXYChart
in classXYAreaChartExpression
-
configureLineChart
protected void configureLineChart(org.jfree.chart.plot.XYPlot plot)
-
configureChart
protected void configureChart(org.jfree.chart.JFreeChart chart)
- Overrides:
configureChart
in classXYLineChartExpression
-
isLineAxisAutoRange
public boolean isLineAxisAutoRange()
-
setLineAxisAutoRange
public void setLineAxisAutoRange(boolean lineAxisAutoRange)
-
getDateUnitAsInt
protected int getDateUnitAsInt(Class domainTimePeriod)
-
-