Package net.sf.jasperreports.charts
Interface JRPieDataset
-
- All Superinterfaces:
Cloneable
,DatasetRunHolder
,JRChartDataset
,JRCloneable
,JRElementDataset
- All Known Implementing Classes:
JRBasePieDataset
,JRDesignPieDataset
,JRFillPieDataset
public interface JRPieDataset extends JRChartDataset
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
Fields Modifier and Type Field Description static String
PROPERTY_IGNORE_DUPLICATED_KEY
-
Fields 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Integer
getMaxCount()
Float
getMinPercentage()
JRExpression
getOtherKeyExpression()
JRExpression
getOtherLabelExpression()
JRHyperlink
getOtherSectionHyperlink()
Returns the hyperlink specification for the special Other chart section, if present.JRPieSeries[]
getSeries()
void
setMaxCount(Integer maxCount)
void
setMinPercentage(Float minPercentage)
-
Methods inherited from interface net.sf.jasperreports.charts.JRChartDataset
collectExpressions, getDatasetType, validate
-
Methods inherited from interface net.sf.jasperreports.engine.JRCloneable
clone
-
Methods inherited from interface net.sf.jasperreports.engine.JRElementDataset
collectExpressions, getDatasetResetType, getDatasetRun, getIncrementGroup, getIncrementType, getIncrementWhenExpression, getResetGroup
-
-
-
-
Field Detail
-
PROPERTY_IGNORE_DUPLICATED_KEY
static final String PROPERTY_IGNORE_DUPLICATED_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getMinPercentage
Float getMinPercentage()
-
setMinPercentage
void setMinPercentage(Float minPercentage)
-
getMaxCount
Integer getMaxCount()
-
setMaxCount
void setMaxCount(Integer maxCount)
-
getSeries
JRPieSeries[] getSeries()
- Returns:
- an array of
JRPieSeries
objects representing the series for the Pie chart - See Also:
JRPieSeries
-
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
-
-