public class XYBarChartExpression extends XYChartExpression
EMPTY_STROKE, LINE_STYLE_DASH_STR, LINE_STYLE_DASHDOT_STR, LINE_STYLE_DASHDOTDOT_STR, LINE_STYLE_DOT_STR, LINE_STYLE_SOLID_STR
Constructor and Description |
---|
XYBarChartExpression() |
Modifier and Type | Method and Description |
---|---|
protected org.jfree.chart.JFreeChart |
computeXYChart(org.jfree.data.xy.XYDataset xyDataset) |
protected void |
configureChart(org.jfree.chart.JFreeChart chart) |
protected static org.jfree.chart.JFreeChart |
createTimeSeriesChart(String title,
String timeAxisLabel,
String valueAxisLabel,
org.jfree.data.xy.XYDataset dataset,
boolean legend,
boolean tooltips,
boolean urls,
boolean stacked) |
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.
|
Double |
getMargin() |
int |
getShadowXOffset() |
int |
getShadowYOffset() |
boolean |
isDrawBarOutline()
Deprecated.
This maps directly to chartSectionOutline
|
boolean |
isRenderPercentages() |
boolean |
isShadowVisible() |
void |
setDrawBarOutline(boolean value)
Deprecated.
This maps directly to chartSectionOutline
|
void |
setMargin(Double margin) |
void |
setRenderPercentages(boolean renderPercentages) |
void |
setShadowVisible(boolean shadowVisible) |
void |
setShadowXOffset(int shadowXOffset) |
void |
setShadowYOffset(int shadowYOffset) |
addSubTitle, 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, setTitlePositionText
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
clone, getDataRow, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, isActive, isDeepTraversing, isPreserve, setActive, setName, setPreserve, setRuntime
public boolean isShadowVisible()
public void setShadowVisible(boolean shadowVisible)
public int getShadowXOffset()
public void setShadowXOffset(int shadowXOffset)
public int getShadowYOffset()
public void setShadowYOffset(int shadowYOffset)
public Double getMargin()
public void setMargin(Double margin)
public boolean isRenderPercentages()
public void setRenderPercentages(boolean renderPercentages)
protected static org.jfree.chart.JFreeChart createTimeSeriesChart(String title, String timeAxisLabel, String valueAxisLabel, org.jfree.data.xy.XYDataset dataset, boolean legend, boolean tooltips, boolean urls, boolean stacked)
protected org.jfree.chart.JFreeChart computeXYChart(org.jfree.data.xy.XYDataset xyDataset)
computeXYChart
in class XYChartExpression
public 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)
XYPlot
instance as the plot, with a DateAxis
for the domain axis, a NumberAxis
as the range axis,
and a XYBarRenderer
as the renderer.title
- the chart title (null
permitted).xAxisLabel
- a label for the X-axis (null
permitted).dateAxis
- make the domain axis display dates?yAxisLabel
- a label for the Y-axis (null
permitted).dataset
- the dataset for the chart (null
permitted).orientation
- the orientation (horizontal or vertical) (null
NOT 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?protected void configureChart(org.jfree.chart.JFreeChart chart)
configureChart
in class XYChartExpression
public boolean isDrawBarOutline()
public void setDrawBarOutline(boolean value)
Copyright © 2002–2017 Pentaho Corporation. All rights reserved.