Package net.sf.jasperreports.charts
Interface JRPieDataset
- All Superinterfaces:
Cloneable,DatasetRunHolder,JRChartDataset,JRCloneable,JRElementDataset
- All Known Implementing Classes:
JRBasePieDataset,JRDesignPieDataset,JRFillPieDataset
This dataset is useful for rendering Pie charts. Data required for such charts
comes in the form of key-value pairs. Each pair represents a slice in the pie chart.
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
Field Summary
FieldsFields inherited from interface net.sf.jasperreports.charts.JRChartDataset
CATEGORY_DATASET, GANTT_DATASET, HIGHLOW_DATASET, PIE_DATASET, TIMEPERIOD_DATASET, TIMESERIES_DATASET, VALUE_DATASET, XY_DATASET, XYZ_DATASET -
Method Summary
Modifier and TypeMethodDescriptionReturns the hyperlink specification for the special Other chart section, if present.voidsetMaxCount(Integer maxCount) voidsetMinPercentage(Float minPercentage) Methods inherited from interface net.sf.jasperreports.charts.JRChartDataset
collectExpressions, getDatasetType, validateMethods inherited from interface net.sf.jasperreports.engine.JRCloneable
cloneMethods inherited from interface net.sf.jasperreports.engine.JRElementDataset
collectExpressions, getDatasetResetType, getDatasetRun, getIncrementGroup, getIncrementType, getIncrementWhenExpression, getResetGroup
-
Field Details
-
PROPERTY_IGNORE_DUPLICATED_KEY
- See Also:
-
-
Method Details
-
getMinPercentage
Float getMinPercentage() -
setMinPercentage
-
getMaxCount
Integer getMaxCount() -
setMaxCount
-
getSeries
JRPieSeries[] getSeries()- Returns:
- an array of
JRPieSeriesobjects representing the series for the Pie chart - See Also:
-
getOtherKeyExpression
JRExpression getOtherKeyExpression() -
getOtherLabelExpression
JRExpression getOtherLabelExpression() -
getOtherSectionHyperlink
JRHyperlink getOtherSectionHyperlink()Returns the hyperlink specification for the special Other chart section, if present.- Returns:
- hyperlink specification for the Other chart section
-