- All Superinterfaces:
Dataset,SeriesDataset,XYDataset
- All Known Implementing Classes:
AbstractIntervalXYDataset,CategoryTableXYDataset,DefaultIntervalXYDataset,DefaultTableXYDataset,DynamicTimeSeriesCollection,HistogramAdapter,HistogramDataset,SimpleHistogramDataset,TimePeriodValuesCollection,TimeSeriesCollection,TimeTableXYDataset,XIntervalSeriesCollection,XYBarDataset,XYIntervalSeriesCollection,XYSeriesCollection,XYTaskDataset,YIntervalSeriesCollection
An extension of the
XYDataset interface that allows an x-interval
and a y-interval to be defined. Note that the x and y values defined
by the parent interface are NOT required to fall within these intervals.
This interface is used to support (among other things) bar plots against
numerical axes.-
Method Summary
Modifier and TypeMethodDescriptiongetEndX(int series, int item) Returns the upper bound of the x-interval for the specified series and item.doublegetEndXValue(int series, int item) Returns the upper bound of the x-interval (as a double primitive) for the specified series and item.getEndY(int series, int item) Returns the upper bound of the y-interval for the specified series and item.doublegetEndYValue(int series, int item) Returns the upper bound of the y-interval (as a double primitive) for the specified series and item.getStartX(int series, int item) Returns the lower bound of the x-interval for the specified series and item.doublegetStartXValue(int series, int item) Returns the lower bound of the x-interval (as a double primitive) for the specified series and item.getStartY(int series, int item) Returns the lower bound of the y-interval for the specified series and item.doublegetStartYValue(int series, int item) Returns the lower bound of the y-interval (as a double primitive) for the specified series and item.Methods inherited from interface org.jfree.data.general.Dataset
addChangeListener, getGroup, removeChangeListener, setGroupMethods inherited from interface org.jfree.data.general.SeriesDataset
getSeriesCount, getSeriesKey, indexOfMethods inherited from interface org.jfree.data.xy.XYDataset
getDomainOrder, getItemCount, getX, getXValue, getY, getYValue
-
Method Details
-
getStartX
Returns the lower bound of the x-interval for the specified series and item. If this lower bound is specified, it should be less than or equal to the upper bound of the interval (if one is specified).- Parameters:
series- the series index (zero-based).item- the item index (zero-based).- Returns:
- The lower bound of the x-interval (
nullpermitted).
-
getStartXValue
double getStartXValue(int series, int item) Returns the lower bound of the x-interval (as a double primitive) for the specified series and item.- Parameters:
series- the series (zero-based index).item- the item (zero-based index).- Returns:
- The lower bound of the x-interval.
- See Also:
-
getEndX
Returns the upper bound of the x-interval for the specified series and item. If this upper bound is specified, it should be greater than or equal to the lower bound of the interval (if one is specified).- Parameters:
series- the series index (zero-based).item- the item index (zero-based).- Returns:
- The upper bound of the x-interval (
nullpermitted).
-
getEndXValue
double getEndXValue(int series, int item) Returns the upper bound of the x-interval (as a double primitive) for the specified series and item.- Parameters:
series- the series index (zero-based).item- the item index (zero-based).- Returns:
- The upper bound of the x-interval.
- See Also:
-
getStartY
Returns the lower bound of the y-interval for the specified series and item. If this lower bound is specified, it should be less than or equal to the upper bound of the interval (if one is specified).- Parameters:
series- the series index (zero-based).item- the item index (zero-based).- Returns:
- The lower bound of the y-interval (
nullpermitted).
-
getStartYValue
double getStartYValue(int series, int item) Returns the lower bound of the y-interval (as a double primitive) for the specified series and item.- Parameters:
series- the series index (zero-based).item- the item index (zero-based).- Returns:
- The lower bound of the y-interval.
- See Also:
-
getEndY
Returns the upper bound of the y-interval for the specified series and item. If this upper bound is specified, it should be greater than or equal to the lower bound of the interval (if one is specified).- Parameters:
series- the series index (zero-based).item- the item index (zero-based).- Returns:
- The upper bound of the y-interval (
nullpermitted).
-
getEndYValue
double getEndYValue(int series, int item) Returns the upper bound of the y-interval (as a double primitive) for the specified series and item.- Parameters:
series- the series index (zero-based).item- the item index (zero-based).- Returns:
- The upper bound of the y-interval.
- See Also:
-