Package net.sf.jasperreports.charts
Interface JRTimeSeriesDataset
-
- All Superinterfaces:
java.lang.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.engine.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 Deprecated Methods Modifier and Type Method Description JRTimeSeries[]
getSeries()
java.lang.Class<?>
getTimePeriod()
Deprecated.Replaced bygetTimePeriodValue()
.TimePeriodEnum
getTimePeriodValue()
void
setTimePeriod(java.lang.Class<?> timePeriod)
Deprecated.Replaced bysetTimePeriod(TimePeriodEnum)
.void
setTimePeriod(TimePeriodEnum timePeriod)
-
Methods inherited from interface net.sf.jasperreports.engine.JRChartDataset
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, getIncrementTypeValue, 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
java.lang.Class<?> getTimePeriod()
Deprecated.Replaced bygetTimePeriodValue()
.
-
setTimePeriod
void setTimePeriod(java.lang.Class<?> timePeriod)
Deprecated.Replaced bysetTimePeriod(TimePeriodEnum)
.
-
getTimePeriodValue
TimePeriodEnum getTimePeriodValue()
- 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
-
-