org.jfree.data.xy

Class AbstractXYDataset

public abstract class AbstractXYDataset extends AbstractSeriesDataset implements XYDataset

An base class that you can use to create new implementations of the XYDataset interface.
Method Summary
DomainOrdergetDomainOrder()
Returns the order of the domain (X) values.
doublegetXValue(int series, int item)
Returns the x-value (as a double primitive) for an item within a series.
doublegetYValue(int series, int item)
Returns the y-value (as a double primitive) for an item within a series.

Method Detail

getDomainOrder

public DomainOrder getDomainOrder()
Returns the order of the domain (X) values.

Returns: The domain order.

getXValue

public double getXValue(int series, int item)
Returns the x-value (as a double primitive) for an item within a series.

Parameters: series the series index (zero-based). item the item index (zero-based).

Returns: The value.

getYValue

public double getYValue(int series, int item)
Returns the y-value (as a double primitive) for an item within a series.

Parameters: series the series index (zero-based). item the item index (zero-based).

Returns: The value.