/** * Returns the key for a series. * * @param series the series (zero-based index). * * @return The name of a series. */ public Comparable getSeriesKey(int series) { return this.parent.getSeriesKey(this.map[series]); }
/** * Fast add of a SeriesDataset. Does not notify listeners of the change. * * @param data SeriesDataset to add */ private void fastAdd(SeriesDataset data) { for (int i = 0; i < data.getSeriesCount(); i++) { this.datasetInfo.add(new DatasetInfo(data, i)); } }
/** * Returns the key for a series. * * @param series the series (zero-based index). * * @return The key for a series. */ public Comparable getSeriesKey(int series) { DatasetInfo di = getDatasetInfo(series); return di.data.getSeriesKey(di.series); }