public class XYMultipleSeriesDataset extends Object
| Constructor and Description |
|---|
XYMultipleSeriesDataset() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAllSeries(List<XYSeries> series)
Adds all the provided XY series to the list.
|
void |
addSeries(int index,
XYSeries series)
Adds a new XY series to the list.
|
void |
addSeries(XYSeries series)
Adds a new XY series to the list.
|
void |
clear()
Removes all the XY series from the list.
|
XYSeries[] |
getSeries()
Returns an array of the XY series.
|
XYSeries |
getSeriesAt(int index)
Returns the XY series at the specified index.
|
int |
getSeriesCount()
Returns the XY series count.
|
void |
removeSeries(int index)
Removes the XY series from the list.
|
void |
removeSeries(XYSeries series)
Removes the XY series from the list.
|
public void addSeries(XYSeries series)
series - the XY series to addpublic void addSeries(int index,
XYSeries series)
index - the index in the series listseries - the XY series to addpublic void addAllSeries(List<XYSeries> series)
series - the XY series to addpublic void removeSeries(int index)
index - the index in the series list of the series to removepublic void removeSeries(XYSeries series)
series - the XY series to be removedpublic void clear()
public XYSeries getSeriesAt(int index)
index - the indexpublic int getSeriesCount()
public XYSeries[] getSeries()