Package net.sf.jasperreports.charts
Interface JRTimeSeriesDataset
-
- All Superinterfaces:
Cloneable
,DatasetRunHolder
,JRChartDataset
,JRCloneable
,JRElementDataset
- All Known Implementing Classes:
JRBaseTimeSeriesDataset
,JRDesignTimeSeriesDataset
,JRFillTimeSeriesDataset
public interface JRTimeSeriesDataset extends JRChartDataset
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JRTimeSeries[]
getSeries()
TimePeriodEnum
getTimePeriod()
void
setTimePeriod(TimePeriodEnum timePeriod)
-
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
-
-
-
-
Method Detail
-
getSeries
JRTimeSeries[] getSeries()
- Returns:
- an array of
JRTimeSeries
objects representing the series for the Time Series chart - See Also:
JRTimeSeries
-
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:
TimePeriodEnum
-
setTimePeriod
void setTimePeriod(TimePeriodEnum timePeriod)
- Parameters:
timePeriod
- the time period associated with days, months, years, or other predefined time periods.- See Also:
TimePeriodEnum
-
-