Package | Description |
---|---|
org.jfree.data.time |
Interfaces and classes for time-related data.
|
Modifier and Type | Method and 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,
java.lang.String name,
int periodCount,
int skip)
Creates a new
TimeSeries containing moving average values for
the given series. |
static TimeSeries |
MovingAverage.createPointMovingAverage(TimeSeries source,
java.lang.String name,
int pointCount)
Creates a new
TimeSeries containing moving average values for
the given series, calculated by number of points (irrespective of the
'age' of those points). |
TimeSeries |
TimeSeriesCollection.getSeries(java.lang.Comparable key)
Returns the series with the specified key, or
null if
there is no such series. |
TimeSeries |
TimeSeriesCollection.getSeries(int series)
Returns a series.
|
Modifier and Type | Method and 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 a
DatasetChangeEvent to
all registered listeners. |
static TimeSeries |
MovingAverage.createMovingAverage(TimeSeries source,
java.lang.String name,
int periodCount,
int skip)
Creates a new
TimeSeries containing moving average values for
the given series. |
static TimeSeries |
MovingAverage.createPointMovingAverage(TimeSeries source,
java.lang.String name,
int pointCount)
Creates a new
TimeSeries containing moving average values for
the given series, calculated by number of points (irrespective of the
'age' of those points). |
java.util.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 a
DatasetChangeEvent to all registered listeners. |
Constructor and Description |
---|
TimeSeriesCollection(TimeSeries series)
Constructs a dataset containing a single series (more can be added),
tied to the default timezone.
|
TimeSeriesCollection(TimeSeries series,
java.util.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.
|