org.jfree.data.general
Interface SeriesDataset
- Dataset
- BoxAndWhiskerXYDataset, ContourDataset, IntervalXYDataset, IntervalXYZDataset, OHLCDataset, TableXYDataset, VectorXYDataset, WindDataset, XYDataset, XYZDataset
- AbstractIntervalXYDataset, AbstractSeriesDataset, AbstractXYDataset, AbstractXYZDataset, CategoryTableXYDataset, CombinedDataset, CyclicXYItemRenderer.OverwriteDataSet, DefaultBoxAndWhiskerXYDataset, DefaultContourDataset, DefaultHighLowDataset, DefaultIntervalCategoryDataset, DefaultIntervalXYDataset, DefaultOHLCDataset, DefaultTableXYDataset, DefaultWindDataset, DefaultXYDataset, DefaultXYZDataset, DynamicTimeSeriesCollection, HistogramDataset, JDBCXYDataset, MatrixSeriesCollection, NonGridContourDataset, OHLCSeriesCollection, SimpleHistogramDataset, SubSeriesDataset, TaskSeriesCollection, TimePeriodValuesCollection, TimeSeriesCollection, TimeTableXYDataset, VectorSeriesCollection, XIntervalSeriesCollection, XYBarDataset, XYIntervalSeriesCollection, XYSeriesCollection, YIntervalSeriesCollection
The interface for a dataset consisting of one or many series of data.
int | getSeriesCount()- Returns the number of series in the dataset.
|
Comparable | getSeriesKey(int series)- Returns the key for a series.
|
int | indexOf(Comparable seriesKey)- Returns the index of the series with the specified key, or -1 if there
is no such series in the dataset.
|
getSeriesCount
public int getSeriesCount()
Returns the number of series in the dataset.
getSeriesKey
public Comparable getSeriesKey(int series)
Returns the key for a series.
series - the series index (in the range 0 to
getSeriesCount() - 1).
indexOf
public int indexOf(Comparable seriesKey)
Returns the index of the series with the specified key, or -1 if there
is no such series in the dataset.
seriesKey - the series key (null permitted).