Uses of Class
org.jfree.data.time.TimeSeries
Package | Description |
---|---|
org.jfree.data.time |
Interfaces and classes for time-related data.
|
-
Uses of TimeSeries in org.jfree.data.time
Methods in org.jfree.data.time that return TimeSeries Modifier and Type Method Description TimeSeries
TimeSeries. addAndOrUpdate(TimeSeries series)
Adds or updates data from one series to another.TimeSeries
TimeSeries. createCopy(int start, int end)
Creates a new timeseries by copying a subset of the data in this time series.TimeSeries
TimeSeries. createCopy(RegularTimePeriod start, RegularTimePeriod end)
Creates a new timeseries by copying a subset of the data in this time series.static TimeSeries
MovingAverage. createMovingAverage(TimeSeries source, String name, int periodCount, int skip)
Creates a newTimeSeries
containing moving average values for the given series.static TimeSeries
MovingAverage. createPointMovingAverage(TimeSeries source, String name, int pointCount)
Creates a newTimeSeries
containing moving average values for the given series, calculated by number of points (irrespective of the 'age' of those points).TimeSeries
TimeSeriesCollection. getSeries(int series)
Returns a series.TimeSeries
TimeSeriesCollection. getSeries(Comparable key)
Returns the series with the specified key, ornull
if there is no such series.Methods in org.jfree.data.time with parameters of type TimeSeries Modifier and Type Method Description TimeSeries
TimeSeries. addAndOrUpdate(TimeSeries series)
Adds or updates data from one series to another.void
TimeSeriesCollection. addSeries(TimeSeries series)
Adds a series to the collection and sends aDatasetChangeEvent
to all registered listeners.static TimeSeries
MovingAverage. createMovingAverage(TimeSeries source, String name, int periodCount, int skip)
Creates a newTimeSeries
containing moving average values for the given series.static TimeSeries
MovingAverage. createPointMovingAverage(TimeSeries source, String name, int pointCount)
Creates a newTimeSeries
containing moving average values for the given series, calculated by number of points (irrespective of the 'age' of those points).Collection
TimeSeries. getTimePeriodsUniqueToOtherSeries(TimeSeries series)
Returns a collection of time periods in the specified series, but not in this series, and therefore unique to the specified series.int
TimeSeriesCollection. indexOf(TimeSeries series)
Returns the index of the specified series, or -1 if that series is not present in the dataset.void
TimeSeriesCollection. removeSeries(TimeSeries series)
Removes the specified series from the collection and sends aDatasetChangeEvent
to all registered listeners.Constructors in org.jfree.data.time with parameters of type TimeSeries Constructor Description TimeSeriesCollection(TimeSeries series)
Constructs a dataset containing a single series (more can be added), tied to the default timezone.TimeSeriesCollection(TimeSeries series, TimeZone zone)
Constructs a dataset containing a single series (more can be added), tied to a specific timezone.TimeSeriesTableModel(TimeSeries series)
Constructs a table model for a time series.TimeSeriesTableModel(TimeSeries series, boolean editable)
Creates a table model based on a time series.