Class XYBarChartExpression
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.XYBarChartExpression
- 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
- Author:
- gmoran
- See Also:
- 
Field SummaryFields inherited from class org.pentaho.plugin.jfreereport.reportcharts.AbstractChartExpressionEMPTY_STROKE, LINE_STYLE_DASH_STR, LINE_STYLE_DASHDOT_STR, LINE_STYLE_DASHDOTDOT_STR, LINE_STYLE_DOT_STR, LINE_STYLE_SOLID_STR
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected org.jfree.chart.JFreeChartcomputeXYChart(org.jfree.data.xy.XYDataset xyDataset) protected voidconfigureChart(org.jfree.chart.JFreeChart chart) protected static org.jfree.chart.JFreeChartcreateTimeSeriesChart(String title, String timeAxisLabel, String valueAxisLabel, org.jfree.data.xy.XYDataset dataset, boolean legend, boolean tooltips, boolean urls, boolean stacked) static org.jfree.chart.JFreeChartcreateXYBarChart(String title, String xAxisLabel, boolean dateAxis, String yAxisLabel, org.jfree.data.xy.XYDataset dataset, org.jfree.chart.plot.PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls) Creates and returns a default instance of an XY bar chart.intintbooleanDeprecated.This maps directly to chartSectionOutlinebooleanbooleanvoidsetDrawBarOutline(boolean value) Deprecated.This maps directly to chartSectionOutlinevoidvoidsetRenderPercentages(boolean renderPercentages) voidsetShadowVisible(boolean shadowVisible) voidsetShadowXOffset(int shadowXOffset) voidsetShadowYOffset(int shadowYOffset) Methods inherited from class org.pentaho.plugin.jfreereport.reportcharts.XYChartExpressionaddSubTitle, computeChart, computePlotOrientation, configureLogarithmicAxis, convertToTable, convertToTable, getBorderPaint, getChart, getDomainMaximum, getDomainMinimum, getDomainPeriodCount, getDomainTickFont, getDomainTickFormat, getDomainTickFormatString, getDomainTimePeriod, getDomainTitle, getDomainTitleFont, getInstance, 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, setTitlePositionTextMethods inherited from class org.pentaho.plugin.jfreereport.reportcharts.AbstractChartExpressionaddExpression, 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, translateLineStyleMethods inherited from class org.pentaho.reporting.engine.classic.core.function.AbstractExpressionclone, getDataRow, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, isActive, isDeepTraversing, isPreserve, setActive, setName, setPreserve, setRuntimeMethods inherited from class java.lang.Objectequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.pentaho.reporting.engine.classic.core.function.Expressionclone, getDataRow, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, isActive, isDeepTraversing, isPreserve, setName, setRuntime
- 
Constructor Details- 
XYBarChartExpressionpublic XYBarChartExpression()
 
- 
- 
Method Details- 
isShadowVisiblepublic boolean isShadowVisible()
- 
setShadowVisiblepublic void setShadowVisible(boolean shadowVisible) 
- 
getShadowXOffsetpublic int getShadowXOffset()
- 
setShadowXOffsetpublic void setShadowXOffset(int shadowXOffset) 
- 
getShadowYOffsetpublic int getShadowYOffset()
- 
setShadowYOffsetpublic void setShadowYOffset(int shadowYOffset) 
- 
getMargin
- 
setMargin
- 
isRenderPercentagespublic boolean isRenderPercentages()
- 
setRenderPercentagespublic void setRenderPercentages(boolean renderPercentages) 
- 
createTimeSeriesChart
- 
computeXYChartprotected org.jfree.chart.JFreeChart computeXYChart(org.jfree.data.xy.XYDataset xyDataset) - Overrides:
- computeXYChartin class- XYChartExpression
 
- 
createXYBarChartpublic static org.jfree.chart.JFreeChart createXYBarChart(String title, String xAxisLabel, boolean dateAxis, String yAxisLabel, org.jfree.data.xy.XYDataset dataset, org.jfree.chart.plot.PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls) Creates and returns a default instance of an XY bar chart. The chart object returned by this method uses anXYPlotinstance as the plot, with aDateAxisfor the domain axis, aNumberAxisas the range axis, and aXYBarRendereras the renderer.- Parameters:
- title- the chart title (- nullpermitted).
- xAxisLabel- a label for the X-axis (- nullpermitted).
- dateAxis- make the domain axis display dates?
- yAxisLabel- a label for the Y-axis (- nullpermitted).
- dataset- the dataset for the chart (- nullpermitted).
- orientation- the orientation (horizontal or vertical) (- nullNOT permitted).
- legend- a flag specifying whether or not a legend is required.
- tooltips- configure chart to generate tool tips?
- urls- configure chart to generate URLs?
- Returns:
- An XY bar chart.
 
- 
configureChartprotected void configureChart(org.jfree.chart.JFreeChart chart) - Overrides:
- configureChartin class- XYChartExpression
 
- 
isDrawBarOutlinepublic boolean isDrawBarOutline()Deprecated.This maps directly to chartSectionOutline- Returns:
 
- 
setDrawBarOutlinepublic void setDrawBarOutline(boolean value) Deprecated.This maps directly to chartSectionOutline
 
-