Module platform

Class AbstractXYDataset

All Implemented Interfaces:
ObjectInputValidation, Serializable, Cloneable, EventListener, Dataset, SeriesChangeListener, SeriesDataset, XYDataset
Direct Known Subclasses:
AbstractIntervalXYDataset, AbstractXYZDataset, DefaultBoxAndWhiskerXYDataset, DefaultHighLowDataset, DefaultOHLCDataset, DefaultWindDataset, DefaultXYDataset, OHLCSeriesCollection, VectorSeriesCollection, XYTaskDataset

public abstract class AbstractXYDataset extends AbstractSeriesDataset implements XYDataset
An base class that you can use to create new implementations of the XYDataset interface.
See Also:
  • Constructor Details

    • AbstractXYDataset

      public AbstractXYDataset()
  • Method Details

    • getDomainOrder

      public DomainOrder getDomainOrder()
      Returns the order of the domain (X) values.
      Specified by:
      getDomainOrder in interface XYDataset
      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.
      Specified by:
      getXValue in interface XYDataset
      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.
      Specified by:
      getYValue in interface XYDataset
      Parameters:
      series - the series index (zero-based).
      item - the item index (zero-based).
      Returns:
      The value.