Class PieChartExpression
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.function.AbstractExpression
-
- org.pentaho.plugin.jfreereport.reportcharts.AbstractChartExpression
-
- org.pentaho.plugin.jfreereport.reportcharts.PieChartExpression
-
- All Implemented Interfaces:
Serializable
,Cloneable
,ChartExpression
,org.pentaho.reporting.engine.classic.core.DynamicExpression
,org.pentaho.reporting.engine.classic.core.function.Expression
- Direct Known Subclasses:
RingChartExpression
public class PieChartExpression extends AbstractChartExpression
- See Also:
- Serialized Form
-
-
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 Constructor Description PieChartExpression()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.jfree.chart.JFreeChart
computeChart(org.jfree.data.general.Dataset dataset)
protected void
configureChart(org.jfree.chart.JFreeChart chart)
protected void
configureExplode(org.jfree.chart.plot.PiePlot pp)
Double
getExplodePct()
String
getExplodeSegment()
boolean
getIsCircular()
String
getPieLabelFormat()
String
getPieLegendLabelFormat()
Color
getShadowPaint()
Double
getShadowXOffset()
Double
getShadowYOffset()
boolean
isIgnoreNulls()
boolean
isIgnoreZeros()
boolean
isRotationClockwise()
void
setCircular(boolean value)
void
setExplodePct(Double value)
void
setExplodeSegment(String value)
void
setIgnoreNulls(boolean value)
void
setIgnoreZeros(boolean value)
void
setPieLabelFormat(String value)
void
setPieLegendLabelFormat(String value)
void
setRotationClockwise(boolean value)
void
setShadowPaint(Color shadowPaint)
void
setShadowXOffset(Double shadowXOffset)
void
setShadowYOffset(Double shadowYOffset)
-
Methods 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, getInstance, 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, 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
-
-
-
-
Method Detail
-
getShadowPaint
public Color getShadowPaint()
-
setShadowPaint
public void setShadowPaint(Color shadowPaint)
-
getShadowXOffset
public Double getShadowXOffset()
-
setShadowXOffset
public void setShadowXOffset(Double shadowXOffset)
-
getShadowYOffset
public Double getShadowYOffset()
-
setShadowYOffset
public void setShadowYOffset(Double shadowYOffset)
-
isRotationClockwise
public boolean isRotationClockwise()
-
setRotationClockwise
public void setRotationClockwise(boolean value)
-
isIgnoreNulls
public boolean isIgnoreNulls()
-
setIgnoreNulls
public void setIgnoreNulls(boolean value)
-
isIgnoreZeros
public boolean isIgnoreZeros()
-
setIgnoreZeros
public void setIgnoreZeros(boolean value)
-
getExplodeSegment
public String getExplodeSegment()
-
setExplodeSegment
public void setExplodeSegment(String value)
-
getExplodePct
public Double getExplodePct()
-
setExplodePct
public void setExplodePct(Double value)
-
getPieLabelFormat
public String getPieLabelFormat()
-
setPieLabelFormat
public void setPieLabelFormat(String value)
-
getPieLegendLabelFormat
public String getPieLegendLabelFormat()
-
setPieLegendLabelFormat
public void setPieLegendLabelFormat(String value)
-
getIsCircular
public boolean getIsCircular()
-
setCircular
public void setCircular(boolean value)
-
computeChart
protected org.jfree.chart.JFreeChart computeChart(org.jfree.data.general.Dataset dataset)
- Overrides:
computeChart
in classAbstractChartExpression
-
configureExplode
protected void configureExplode(org.jfree.chart.plot.PiePlot pp)
-
configureChart
protected void configureChart(org.jfree.chart.JFreeChart chart)
- Overrides:
configureChart
in classAbstractChartExpression
-
-