Package | Description |
---|---|
org.jfree.data.general |
Data interfaces and classes.
|
org.jfree.data.time |
Interfaces and classes for time-related data.
|
org.jfree.data.xy |
A package containing the
XYDataset interface and related classes. |
Modifier and Type | Method and Description |
---|---|
static XYSeries |
DatasetUtilities.sampleFunction2DToSeries(Function2D f,
double start,
double end,
int samples,
java.lang.Comparable seriesKey)
Creates an
XYSeries by sampling the specified function over a
fixed range. |
Modifier and Type | Method and Description |
---|---|
static XYSeries |
MovingAverage.createMovingAverage(XYDataset source,
int series,
java.lang.String name,
double period,
double skip)
Creates a new
XYSeries containing the moving averages of one
series in the source dataset. |
Modifier and Type | Method and Description |
---|---|
XYSeries |
XYSeries.createCopy(int start,
int end)
Creates a new series by copying a subset of the data in this time series.
|
XYSeries |
XYSeriesCollection.getSeries(java.lang.Comparable key)
Returns a series from the collection.
|
XYSeries |
XYSeriesCollection.getSeries(int series)
Returns a series from the collection.
|
XYSeries |
DefaultTableXYDataset.getSeries(int series)
Returns a series.
|
Modifier and Type | Method and Description |
---|---|
void |
XYSeriesCollection.addSeries(XYSeries series)
Adds a series to the collection and sends a
DatasetChangeEvent
to all registered listeners. |
void |
DefaultTableXYDataset.addSeries(XYSeries series)
Adds a series to the collection and sends a
DatasetChangeEvent
to all registered listeners. |
int |
XYSeriesCollection.indexOf(XYSeries series)
Returns the index of the specified series, or -1 if that series is not
present in the dataset.
|
void |
XYSeriesCollection.removeSeries(XYSeries series)
Removes a series from the collection and sends a
DatasetChangeEvent to all registered listeners. |
void |
DefaultTableXYDataset.removeSeries(XYSeries series)
Removes a series from the collection and sends a
DatasetChangeEvent to all registered listeners. |
Constructor and Description |
---|
XYSeriesCollection(XYSeries series)
Constructs a dataset and populates it with a single series.
|