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)
  • Method Details

    • getSeries

      JRTimeSeries[] getSeries()
      Returns:
      an array of JRTimeSeries objects 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

      void setTimePeriod(TimePeriodEnum timePeriod)
      Parameters:
      timePeriod - the time period associated with days, months, years, or other predefined time periods.
      See Also: