org.jfree.data.xy
Interface XYDataset

public interface XYDataset
extends SeriesDataset
An interface through which data in the form of (x, y) items can be accessed.
SinceNot specified.
VersionNot specified.
AuthorNot specified.
Wiki javadoc Use textile entry format.
Add your comments here.
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 (as a double primitive) 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.
Methods inherited from org.jfree.data.generalSeriesDataset
getDomainOrder
public DomainOrder getDomainOrder ( )
Returns the order of the domain (or X) values returned by the dataset.
Wiki javadoc Use textile entry format.
Add your comments here.
getItemCount
public int getItemCount ( int series )
Returns the number of items in a series.
Parameters
TypeNameDescription
int series the series index (zero-based).
Wiki javadoc Use textile entry format.
Add your comments here.
getX
public Number getX ( int series, int item )
Returns the x-value for an item within a series. The x-values may or may not be returned in ascending order, that is up to the class implementing the interface.
Parameters
TypeNameDescription
int series the series index (zero-based).
int item the item index (zero-based).
Wiki javadoc Use textile entry format.
Add your comments here.
getXValue
public double getXValue ( int series, int item )
Returns the x-value (as a double primitive) for an item within a series.
Parameters
TypeNameDescription
int series the series index (zero-based).
int item the item index (zero-based).
Wiki javadoc Use textile entry format.
Add your comments here.
getY
public Number getY ( int series, int item )
Returns the y-value for an item within a series.
Parameters
TypeNameDescription
int series the series index (zero-based).
int item the item index (zero-based).
Wiki javadoc Use textile entry format.
Add your comments here.
getYValue
public double getYValue ( int series, int item )
Returns the y-value (as a double primitive) for an item within a series.
Parameters
TypeNameDescription
int series the series index (zero-based).
int item the item index (zero-based).
Wiki javadoc Use textile entry format.
Add your comments here.