public interface XYDataset extends SeriesDataset
Modifier and Type | Method and Description |
---|---|
DomainOrder |
getDomainOrder()
Returns the order of the domain (or X) values returned by the dataset.
|
int |
getItemCount(int series)
Returns the number of items in a series.
|
java.lang.Number |
getX(int series,
int item)
Returns the x-value for an item within a series.
|
double |
getXValue(int series,
int item)
Returns the x-value for an item within a series.
|
java.lang.Number |
getY(int series,
int item)
Returns the y-value for an item within a series.
|
double |
getYValue(int series,
int item)
Returns the y-value (as a double primitive) for an item within a series.
|
getSeriesCount, getSeriesKey, indexOf
addChangeListener, getGroup, removeChangeListener, setGroup
DomainOrder getDomainOrder()
null
).int getItemCount(int series)
IllegalArgumentException
if the series
argument is outside the specified range.series
- the series index (in the range 0
to
getSeriesCount() - 1
).java.lang.Number getX(int series, int item)
series
- the series index (in the range 0
to
getSeriesCount() - 1
).item
- the item index (in the range 0
to
getItemCount(series)
).null
).double getXValue(int series, int item)
series
- the series index (in the range 0
to
getSeriesCount() - 1
).item
- the item index (in the range 0
to
getItemCount(series)
).java.lang.Number getY(int series, int item)
series
- the series index (in the range 0
to
getSeriesCount() - 1
).item
- the item index (in the range 0
to
getItemCount(series)
).null
).double getYValue(int series, int item)
series
- the series index (in the range 0
to
getSeriesCount() - 1
).item
- the item index (in the range 0
to
getItemCount(series)
).