org.jfree.data.xy
public interface XYDataset extends SeriesDataset
Method Summary | |
---|---|
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.
|
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.
|
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.
|
Returns: The order (never null
).
IllegalArgumentException
if the series
argument is outside the specified range.
Parameters: series the series index (in the range 0
to
getSeriesCount() - 1
).
Returns: The item count.
Parameters: series the series index (in the range 0
to
getSeriesCount() - 1
). item the item index (in the range 0
to
getItemCount(series)
).
Returns: The x-value (never null
).
Parameters: series the series index (in the range 0
to
getSeriesCount() - 1
). item the item index (in the range 0
to
getItemCount(series)
).
Returns: The x-value.
Parameters: series the series index (in the range 0
to
getSeriesCount() - 1
). item the item index (in the range 0
to
getItemCount(series)
).
Returns: The y-value (possibly null
).
Parameters: series the series index (in the range 0
to
getSeriesCount() - 1
). item the item index (in the range 0
to
getItemCount(series)
).
Returns: The y-value.