Class BarChartExpression
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
- All Implemented Interfaces:
Serializable,Cloneable,ChartExpression,org.pentaho.reporting.engine.classic.core.DynamicExpression,org.pentaho.reporting.engine.classic.core.function.Expression,org.pentaho.reporting.engine.classic.core.LegacyUpdateHandler
- Direct Known Subclasses:
BarLineChartExpression
This class is for backward compatibility with previous build of the expression. Instead of using this class, use
CategoricalChartExpression.
- Author:
- mbatchel
- 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 categoryDataset) protected voidconfigureChart(org.jfree.chart.JFreeChart chart) intintbooleanDeprecated.Use the property chartSectionOutline instead.booleanbooleanvoidsetDrawBarOutline(boolean value) Deprecated.Use the property chartSectionOutline instead.voidsetItemMargin(Double itemMargin) voidsetMaxBarWidth(Double value) voidsetShadowColor(Color shadowColor) voidsetShadowVisible(boolean shadowVisible) voidsetShadowXOffset(int shadowXOffset) voidsetShadowYOffset(int shadowYOffset) voidsetStackedBarRenderPercentages(boolean value) Methods 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, getInstance, getLabelRotation, getLabelRotationDeg, getLowerMargin, getMaxCategoryLabelWidthRatio, getRangeMaximum, getRangeMinimum, getRangePeriodCount, getRangeTickFont, getRangeTickFormat, getRangeTickFormatString, getRangeTimePeriod, getRangeTitleFont, getScaleFactor, getTextAnchorDirectionOfAngle, getUpperMargin, getValueAxisLabel, isAutoRange, isHorizontal, isHumanReadableLogarithmicFormat, isLogarithmicAxis, isRangeIncludesZero, isRangeStickyZero, isShowGridlines, reconfigureForCompatibility, 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.reporting.engine.classic.core.function.Expression
clone, getDataRow, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, isActive, isDeepTraversing, isPreserve, setName, setRuntime
-
Constructor Details
-
BarChartExpression
public BarChartExpression()
-
-
Method Details
-
getItemMargin
-
setItemMargin
-
getMaxBarWidth
-
setMaxBarWidth
-
isStackedBarRenderPercentages
public boolean isStackedBarRenderPercentages() -
setStackedBarRenderPercentages
public void setStackedBarRenderPercentages(boolean value) -
computeCategoryChart
public org.jfree.chart.JFreeChart computeCategoryChart(org.jfree.data.category.CategoryDataset categoryDataset) - Overrides:
computeCategoryChartin classCategoricalChartExpression
-
configureChart
protected void configureChart(org.jfree.chart.JFreeChart chart) - Overrides:
configureChartin classCategoricalChartExpression
-
isShadowVisible
public boolean isShadowVisible() -
setShadowVisible
public void setShadowVisible(boolean shadowVisible) -
getShadowColor
-
setShadowColor
-
getShadowXOffset
public int getShadowXOffset() -
setShadowXOffset
public void setShadowXOffset(int shadowXOffset) -
getShadowYOffset
public int getShadowYOffset() -
setShadowYOffset
public void setShadowYOffset(int shadowYOffset) -
isDrawBarOutline
public boolean isDrawBarOutline()Deprecated.Use the property chartSectionOutline instead.- Returns:
-
setDrawBarOutline
public void setDrawBarOutline(boolean value) Deprecated.Use the property chartSectionOutline instead.- Parameters:
value-
-