Package net.sf.jasperreports.charts.fill
Class JRFillPieSeries
java.lang.Object
net.sf.jasperreports.charts.fill.JRFillPieSeries
- All Implemented Interfaces:
Cloneable,JRPieSeries,JRCloneable
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()protected voidevaluate(JRCalculator calculator) protected voidevaluateSectionHyperlink(JRCalculator calculator) protected Comparable<?> getKey()protected StringgetLabel()protected JRPrintHyperlinkReturns the hyperlink specification for chart sections.protected NumbergetValue()boolean
-
Field Details
-
parent
-
-
Constructor Details
-
JRFillPieSeries
-
-
Method Details
-
getKeyExpression
- Specified by:
getKeyExpressionin interfaceJRPieSeries- Returns:
- a
java.lang.Comparableobject representing the categories that will make up the slices in the pie chart.
-
getValueExpression
- Specified by:
getValueExpressionin interfaceJRPieSeries- Returns:
- a numeric expression that produces the values corresponding to each category/key in the dataset.
-
getLabelExpression
- Specified by:
getLabelExpressionin interfaceJRPieSeries- Returns:
- the label expression. If this expression is missing, the chart
will display default labels for each slice in the pie chart. Use this
expression, which returns
java.lang.Stringvalues, to customize the item labels for the pie chart.
-
getKey
-
getValue
-
getLabel
-
getPrintSectionHyperlink
-
evaluate
- Throws:
JRExpressionEvalException
-
evaluateSectionHyperlink
- Throws:
JRExpressionEvalException
-
hasSectionHyperlinks
public boolean hasSectionHyperlinks() -
getSectionHyperlink
Description copied from interface:JRPieSeriesReturns the hyperlink specification for chart sections.The hyperlink will be evaluated for every chart section and an image map will be created for the chart.
- Specified by:
getSectionHyperlinkin interfaceJRPieSeries- Returns:
- hyperlink specification for chart sections
-
clone
- Specified by:
clonein interfaceJRCloneable- Overrides:
clonein classObject
-