Package net.sf.jasperreports.charts
Interface JRTimeSeriesDataset
- All Superinterfaces:
Cloneable,DatasetRunHolder,JRChartDataset,JRCloneable,JRElementDataset
- All Known Implementing Classes:
JRBaseTimeSeriesDataset,JRDesignTimeSeriesDataset,JRFillTimeSeriesDataset
This dataset wraps one or multiple time series. A time series consists of
(time period, numeric value) pairs. The Time Series dataset can be used with
Times Series and XY Bar charts.
- Author:
- Flavius Sana (flavius_sana@users.sourceforge.net)
-
Field Summary
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
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
-
Method Details
-
getSeries
JRTimeSeries[] getSeries()- Returns:
- an array of
JRTimeSeriesobjects representing the series for the Time Series chart - See Also:
-
getTimePeriod
TimePeriodEnum getTimePeriod()- Returns:
- the time period. Specifies the type of the data series inside the dataset. Time series can contain numeric values associated with days, months, years, or other predefined time periods.
- See Also:
-
setTimePeriod
- Parameters:
timePeriod- the time period associated with days, months, years, or other predefined time periods.- See Also:
-