org.pentaho.plugin.jfreereport.reportcharts
Class BarChartExpression

java.lang.Object
  extended by org.pentaho.reporting.engine.classic.core.function.AbstractExpression
      extended by org.pentaho.plugin.jfreereport.reportcharts.AbstractChartExpression
          extended by org.pentaho.plugin.jfreereport.reportcharts.CategoricalChartExpression
              extended by org.pentaho.plugin.jfreereport.reportcharts.StackedCategoricalChartExpression
                  extended by org.pentaho.plugin.jfreereport.reportcharts.BarChartExpression
All Implemented Interfaces:
Serializable, Cloneable, ChartExpression, org.pentaho.reporting.engine.classic.core.function.Expression, org.pentaho.reporting.engine.classic.core.LegacyUpdateHandler
Direct Known Subclasses:
BarLineChartExpression

public class BarChartExpression
extends StackedCategoricalChartExpression

This class is for backward compatibility with previous build of the expression. Instead of using this class, use CategoricalChartExpression.

Author:
mbatchel
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.pentaho.plugin.jfreereport.reportcharts.AbstractChartExpression
LINE_STYLE_DASH_STR, LINE_STYLE_DASHDOT_STR, LINE_STYLE_DASHDOTDOT_STR, LINE_STYLE_DOT_STR, LINE_STYLE_SOLID_STR
 
Constructor Summary
BarChartExpression()
           
 
Method Summary
 org.jfree.chart.JFreeChart computeCategoryChart(org.jfree.data.category.CategoryDataset categoryDataset)
           
 Double getItemMargin()
           
 Double getMaxBarWidth()
           
 boolean isDrawBarOutline()
          Deprecated. Use the property chartSectionOutline instead.
 boolean isStackedBarRenderPercentages()
           
 void setDrawBarOutline(boolean value)
          Deprecated. Use the property chartSectionOutline instead.
 void setItemMargin(Double itemMargin)
           
 void setMaxBarWidth(Double value)
           
 void setStackedBarRenderPercentages(boolean value)
           
 
Methods inherited from class org.pentaho.plugin.jfreereport.reportcharts.StackedCategoricalChartExpression
isStacked, setStacked
 
Methods inherited from class org.pentaho.plugin.jfreereport.reportcharts.CategoricalChartExpression
getCategoricalAxisMessageFormat, getCategoricalItemLabelRotation, getCategoricalItemLabelRotationDeg, getCategoricalLabelDateFormat, getCategoricalLabelDecimalFormat, getCategoricalLabelFormat, getCategoryAxisLabel, getCategoryMargin, getCategoryTickFont, getCategoryTitleFont, getChart, getInstance, getLabelRotation, getLabelRotationDeg, getLowerMargin, getMaxCategoryLabelWidthRatio, getRangeMaximum, getRangeMinimum, getRangePeriodCount, getRangeTickFont, getRangeTickFormat, getRangeTickFormatString, getRangeTimePeriod, getRangeTitleFont, 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, setShowGridlines, setUpperMargin, setValueAxisLabel
 
Methods inherited from class org.pentaho.plugin.jfreereport.reportcharts.AbstractChartExpression
getBackgroundColor, getBackgroundImage, getBorderColor, getChartDirectory, getChartFile, getChartFromCache, getChartHeight, getChartUrlMask, getChartWidth, getDataSource, getDependencyLevel, 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, putChartInCache, setAntiAlias, setBackgroundColor, setBackgroundImage, setBorderColor, setChartDirectory, setChartFile, setChartHeight, setChartSectionOutline, setChartUrlMask, setChartWidth, setDataSource, setDependencyLevel, setDrawLegendBorder, 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, 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, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.pentaho.reporting.engine.classic.core.function.Expression
clone, getDataRow, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, isActive, isDeepTraversing, isPreserve, setName, setRuntime
 

Constructor Detail

BarChartExpression

public BarChartExpression()
Method Detail

getItemMargin

public Double getItemMargin()

setItemMargin

public void setItemMargin(Double itemMargin)

getMaxBarWidth

public Double getMaxBarWidth()

setMaxBarWidth

public void setMaxBarWidth(Double value)

isStackedBarRenderPercentages

public boolean isStackedBarRenderPercentages()

setStackedBarRenderPercentages

public void setStackedBarRenderPercentages(boolean value)

computeCategoryChart

public org.jfree.chart.JFreeChart computeCategoryChart(org.jfree.data.category.CategoryDataset categoryDataset)

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 -