Package net.sf.jasperreports.charts
Interface JRChartDataset
- All Superinterfaces:
Cloneable,DatasetRunHolder,JRCloneable,JRElementDataset
- All Known Subinterfaces:
JRCategoryDataset,JRGanttDataset,JRHighLowDataset,JRPieDataset,JRTimePeriodDataset,JRTimeSeriesDataset,JRValueDataset,JRXyDataset,JRXyzDataset
- All Known Implementing Classes:
JRBaseCategoryDataset,JRBaseChartDataset,JRBaseGanttDataset,JRBaseHighLowDataset,JRBasePieDataset,JRBaseTimePeriodDataset,JRBaseTimeSeriesDataset,JRBaseValueDataset,JRBaseXyDataset,JRBaseXyzDataset,JRDesignCategoryDataset,JRDesignChartDataset,JRDesignGanttDataset,JRDesignHighLowDataset,JRDesignPieDataset,JRDesignTimePeriodDataset,JRDesignTimeSeriesDataset,JRDesignValueDataset,JRDesignXyDataset,JRDesignXyzDataset,JRFillCategoryDataset,JRFillChartDataset,JRFillGanttDataset,JRFillHighLowDataset,JRFillPieDataset,JRFillTimePeriodDataset,JRFillTimeSeriesDataset,JRFillValueDataset,JRFillXyDataset,JRFillXyzDataset
Datasets are used to represent the actual data needed to generate a chart. The dataset structure may vary with each chart type. This
is the superinterface for all datasets and contains common dataset properties.
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final byte -
Method Summary
Modifier and TypeMethodDescriptionvoidcollectExpressions(ChartsExpressionCollector collector) byteGets the dataset type.voidvalidate(ChartsVerifier verifier) Validates the dataset using a verifier.Methods 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
-
PIE_DATASET
static final byte PIE_DATASET- See Also:
-
CATEGORY_DATASET
static final byte CATEGORY_DATASET- See Also:
-
XY_DATASET
static final byte XY_DATASET- See Also:
-
XYZ_DATASET
static final byte XYZ_DATASET- See Also:
-
TIMEPERIOD_DATASET
static final byte TIMEPERIOD_DATASET- See Also:
-
TIMESERIES_DATASET
static final byte TIMESERIES_DATASET- See Also:
-
HIGHLOW_DATASET
static final byte HIGHLOW_DATASET- See Also:
-
VALUE_DATASET
static final byte VALUE_DATASET- See Also:
-
GANTT_DATASET
static final byte GANTT_DATASET- See Also:
-
-
Method Details
-
getDatasetType
byte getDatasetType()Gets the dataset type. Must be one of the dataset type constants defined in this class. -
validate
Validates the dataset using a verifier.Broken rules are collected by the verifier.
- Parameters:
verifier- the verifier to use for validation
-
collectExpressions
-