Class BarLineChartExpression
java.lang.Object
org.pentaho.reporting.engine.classic.core.function.AbstractExpression
org.pentaho.plugin.jfreereport.reportcharts.AbstractChartExpression
org.pentaho.plugin.jfreereport.reportcharts.CategoricalChartExpression
org.pentaho.plugin.jfreereport.reportcharts.StackedCategoricalChartExpression
org.pentaho.plugin.jfreereport.reportcharts.BarChartExpression
org.pentaho.plugin.jfreereport.reportcharts.BarLineChartExpression
- 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
- See Also:
-
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 -
Method Summary
Modifier and TypeMethodDescriptionorg.jfree.chart.JFreeChartcomputeCategoryChart(org.jfree.data.category.CategoryDataset barsDataset) protected voidconfigureChart(org.jfree.chart.JFreeChart chart) Deprecated.Deprecated.Deprecated.duplicate property.Deprecated.org.pentaho.reporting.engine.classic.core.function.ExpressionReturn a completly separated copy of this function.doubledoubledoubleString[]getLineSeriesColor(int index) intDeprecated.floatbooleanbooleanbooleanbooleanbooleanvoidreconfigureForCompatibility(int versionTag) voidsetBarsLabelFont(String barsLabelFont) Deprecated.voidsetBarsTickLabelFont(String barsTickLabelFont) Deprecated.voidsetBarTicksLabelFormat(String lineTicksLabelDateFormat) Deprecated.duplicate property.voidsetCategoryTickLabelFont(String categoryTickLabelFont) Deprecated.voidsetLineAxisAutoRange(boolean lineAxisAutoRange) voidsetLineAxisIncludesZero(boolean lineAxisIncludesZero) voidsetLineAxisStickyZero(boolean lineAxisStickyZero) voidsetLinePeriodCount(double linePeriodCount) voidsetLineRangeMaximum(double lineRangeMaximum) voidsetLineRangeMinimum(double lineRangeMinimum) voidsetLinesDataSource(String linesDataSource) voidsetLineSeriesColor(int index, String field) voidsetLineSeriesColor(String[] fields) voidsetLinesLabelFont(String linesLabelFont) voidsetLinesTickLabelFont(String linesTickLabelFont) Deprecated.voidsetLineStyle(String value) voidsetLineTickFont(Font lineTickFont) voidsetLineTicksLabelFormat(String lineTicksLabelFormat) voidsetLineTimePeriod(Class lineTimePeriod) voidsetLineTitleFont(Font lineTitleFont) voidsetLineWidth(float value) voidsetMarkersVisible(boolean markersVisible) voidsetSecondaryDataSet(String dataset) voidsetSecondValueAxisLabel(String secondValueAxisLabel) voidsetSharedRangeAxis(boolean sharedRangeAxis) Methods inherited from class org.pentaho.plugin.jfreereport.reportcharts.BarChartExpression
getItemMargin, getMaxBarWidth, getShadowColor, getShadowXOffset, getShadowYOffset, isDrawBarOutline, isShadowVisible, isStackedBarRenderPercentages, setDrawBarOutline, setItemMargin, setMaxBarWidth, setShadowColor, setShadowVisible, setShadowXOffset, setShadowYOffset, setStackedBarRenderPercentagesMethods inherited from class org.pentaho.plugin.jfreereport.reportcharts.StackedCategoricalChartExpression
isStacked, setStackedMethods inherited from class org.pentaho.plugin.jfreereport.reportcharts.CategoricalChartExpression
computeChart, computePlotOrientation, configureLogarithmicAxis, configureRangeAxis, createUpRotationCategoryLabelPosition, getCategoricalAxisMessageFormat, getCategoricalItemLabelRotation, getCategoricalItemLabelRotationDeg, getCategoricalLabelDateFormat, getCategoricalLabelDecimalFormat, getCategoricalLabelFormat, getCategoryAxisLabel, getCategoryMargin, getCategoryTickFont, getCategoryTitleFont, getChart, getDateUnitAsInt, getLabelRotation, getLabelRotationDeg, getLowerMargin, getMaxCategoryLabelWidthRatio, getRangeMaximum, getRangeMinimum, getRangePeriodCount, getRangeTickFont, getRangeTickFormat, getRangeTickFormatString, getRangeTimePeriod, getRangeTitleFont, getScaleFactor, getTextAnchorDirectionOfAngle, getUpperMargin, getValueAxisLabel, isAutoRange, isHorizontal, isHumanReadableLogarithmicFormat, isLogarithmicAxis, isRangeIncludesZero, isRangeStickyZero, isShowGridlines, setAutoRange, setCategoricalAxisMessageFormat, setCategoricalItemLabelRotation, setCategoricalItemLabelRotationDeg, setCategoricalLabelDateFormat, setCategoricalLabelDecimalFormat, setCategoricalLabelFormat, setCategoryAxisLabel, setCategoryMargin, setCategoryTickFont, setCategoryTitleFont, setHorizontal, setHumanReadableLogarithmicFormat, setLabelRotation, setLabelRotationDeg, setLogarithmicAxis, setLowerMargin, setMaxCategoryLabelWidthRatio, setRangeIncludesZero, setRangeMaximum, setRangeMinimum, setRangePeriodCount, setRangeStickyZero, setRangeTickFont, setRangeTickFormat, setRangeTickFormatString, setRangeTimePeriod, setRangeTitleFont, setScaleFactor, setShowGridlines, setUpperMargin, setValueAxisLabelMethods 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, getPlotBackgroundColor, 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, setPlotBackgroundColor, setPlotForegroundAlpha, setPostProcessingLanguage, setPostProcessingScript, setReturnFileNameOnly, setReturnImageReference, setSeriesColor, setSeriesColor, setShowBorder, setShowLegend, setThreeD, setTitle, setTitleField, setTitleFont, setTitleText, setTooltipFormula, setUrlFormula, setUseDrawable, standardTickUnitsApplyFormat, storeChartInCache, translateEdge, translateLineStyleMethods inherited from class org.pentaho.reporting.engine.classic.core.function.AbstractExpression
clone, getDataRow, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, isActive, isDeepTraversing, isPreserve, setActive, setName, setPreserve, setRuntimeMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.pentaho.plugin.jfreereport.reportcharts.ChartExpression
getDataSource, getHyperlinkFormulas, setDataSourceMethods inherited from interface org.pentaho.reporting.engine.classic.core.function.Expression
clone, getDataRow, getDependencyLevel, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, getValue, isActive, isDeepTraversing, isPreserve, setDependencyLevel, setName, setRuntime
-
Constructor Details
-
BarLineChartExpression
public BarLineChartExpression()
-
-
Method Details
-
isLineAxisIncludesZero
public boolean isLineAxisIncludesZero() -
setLineAxisIncludesZero
public void setLineAxisIncludesZero(boolean lineAxisIncludesZero) -
isLineAxisStickyZero
public boolean isLineAxisStickyZero() -
setLineAxisStickyZero
public void setLineAxisStickyZero(boolean lineAxisStickyZero) -
getLineTitleFont
-
setLineTitleFont
-
getLineTickFont
-
setLineTickFont
-
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
-
setLineTimePeriod
-
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:
getInstancein interfaceorg.pentaho.reporting.engine.classic.core.function.Expression- Overrides:
getInstancein classCategoricalChartExpression- Returns:
- a copy of this function.
-
getLinesDataSource
-
setLinesDataSource
-
getSecondaryDataSet
- Specified by:
getSecondaryDataSetin interfaceMultiPlotChartExpression
-
setSecondaryDataSet
- Specified by:
setSecondaryDataSetin interfaceMultiPlotChartExpression
-
getLinesLabelFont
-
setLinesLabelFont
-
getLinesTickLabelFont
Deprecated. -
setLinesTickLabelFont
Deprecated. -
getSecondValueAxisLabel
-
setSecondValueAxisLabel
-
getLineTicksLabelFormat
-
setLineTicksLabelFormat
-
setLineSeriesColor
-
getLineSeriesColor
-
getLineSeriesColorCount
public int getLineSeriesColorCount() -
getLineSeriesColor
-
setLineSeriesColor
-
getLineStyle
- Returns:
- returns the style set for the lines
-
setLineStyle
- Parameters:
value- set the style for all line series
-
getLineWidth
public float getLineWidth()- Returns:
- the width of all line series Valid values are float numbers zero or greater
-
setLineWidth
public void setLineWidth(float value) - Parameters:
value- set the width of all line series Valid values are float numbers zero or greater
-
isMarkersVisible
public boolean isMarkersVisible()- Returns:
- boolean whether the markers (data points) for all series are displayed
-
setMarkersVisible
public void setMarkersVisible(boolean markersVisible) - Parameters:
markersVisible- set whether the markers (data points) for all series should be displayed
-
getBarsTickLabelFont
Deprecated. -
setBarsTickLabelFont
Deprecated. -
getCategoryTickLabelFont
Deprecated. -
setCategoryTickLabelFont
Deprecated. -
getBarTicksLabelFormat
Deprecated.duplicate property.- Returns:
-
setBarTicksLabelFormat
Deprecated.duplicate property.- Parameters:
lineTicksLabelDateFormat-
-
getBarsLabelFont
Deprecated. -
setBarsLabelFont
Deprecated. -
isLineAxisAutoRange
public boolean isLineAxisAutoRange() -
setLineAxisAutoRange
public void setLineAxisAutoRange(boolean lineAxisAutoRange) -
computeCategoryChart
public org.jfree.chart.JFreeChart computeCategoryChart(org.jfree.data.category.CategoryDataset barsDataset) - Overrides:
computeCategoryChartin classBarChartExpression
-
configureChart
protected void configureChart(org.jfree.chart.JFreeChart chart) - Overrides:
configureChartin classBarChartExpression
-
reconfigureForCompatibility
public void reconfigureForCompatibility(int versionTag) - Specified by:
reconfigureForCompatibilityin interfaceorg.pentaho.reporting.engine.classic.core.LegacyUpdateHandler- Overrides:
reconfigureForCompatibilityin classCategoricalChartExpression
-