Interface IntervalXYDataset

All Superinterfaces:
Dataset, SeriesDataset, XYDataset
All Known Implementing Classes:
AbstractIntervalXYDataset, CategoryTableXYDataset, CombinedDataset, DefaultTableXYDataset, DynamicTimeSeriesCollection, HistogramDataset, SimpleIntervalXYDataset, SimpleIntervalXYDataset2, SubSeriesDataset, TimePeriodValuesCollection, TimeSeriesCollection, TimeTableXYDataset, XYBarDataset, XYSeriesCollection

public interface IntervalXYDataset
extends XYDataset
An extension of the XYDataset interface that allows a range of data to be defined for the X values, the Y values, or both the X and Y values.

This versatile interface will be used to support (among other things) bar plots against numerical axes.

Author:
Mark Watson
  • Method Summary

    Modifier and Type Method Description
    double getEndX​(int series, int item)
    Returns the end x-value (as a double primitive) for an item within a series.
    Number getEndXValue​(int series, int item)
    Returns the ending X value for the specified series and item.
    double getEndY​(int series, int item)
    Returns the end y-value (as a double primitive) for an item within a series.
    Number getEndYValue​(int series, int item)
    Returns the ending Y value for the specified series and item.
    double getStartX​(int series, int item)
    Returns the start x-value (as a double primitive) for an item within a series.
    Number getStartXValue​(int series, int item)
    Returns the starting X value for the specified series and item.
    double getStartY​(int series, int item)
    Returns the start y-value (as a double primitive) for an item within a series.
    Number getStartYValue​(int series, int item)
    Returns the starting Y value for the specified series and item.

    Methods inherited from interface org.jfree.data.Dataset

    addChangeListener, getGroup, removeChangeListener, setGroup

    Methods inherited from interface org.jfree.data.SeriesDataset

    getSeriesCount, getSeriesName

    Methods inherited from interface org.jfree.data.XYDataset

    getItemCount, getX, getXValue, getY, getYValue
  • Method Details

    • getStartXValue

      Number getStartXValue​(int series, int item)
      Returns the starting X value for the specified series and item.
      Parameters:
      series - the series (zero-based index).
      item - the item within a series (zero-based index).
      Returns:
      the starting X value for the specified series and item.
    • getStartX

      double getStartX​(int series, int item)
      Returns the start x-value (as a double primitive) for an item within a series.
      Parameters:
      series - the series (zero-based index).
      item - the item (zero-based index).
      Returns:
      The start x-value.
    • getEndXValue

      Number getEndXValue​(int series, int item)
      Returns the ending X value for the specified series and item.
      Parameters:
      series - the series (zero-based index).
      item - the item within a series (zero-based index).
      Returns:
      the ending X value for the specified series and item.
    • getEndX

      double getEndX​(int series, int item)
      Returns the end x-value (as a double primitive) for an item within a series.
      Parameters:
      series - the series (zero-based index).
      item - the item (zero-based index).
      Returns:
      The end x-value.
    • getStartYValue

      Number getStartYValue​(int series, int item)
      Returns the starting Y value for the specified series and item.
      Parameters:
      series - the series (zero-based index).
      item - the item within a series (zero-based index).
      Returns:
      starting Y value for the specified series and item.
    • getStartY

      double getStartY​(int series, int item)
      Returns the start y-value (as a double primitive) for an item within a series.
      Parameters:
      series - the series (zero-based index).
      item - the item (zero-based index).
      Returns:
      The start y-value.
    • getEndYValue

      Number getEndYValue​(int series, int item)
      Returns the ending Y value for the specified series and item.
      Parameters:
      series - the series (zero-based index).
      item - the item within a series (zero-based index).
      Returns:
      the ending Y value for the specified series and item.
    • getEndY

      double getEndY​(int series, int item)
      Returns the end y-value (as a double primitive) for an item within a series.
      Parameters:
      series - the series (zero-based index).
      item - the item (zero-based index).
      Returns:
      The end y-value.