Package org.jfree.data
Interface RangeInfo
- All Known Implementing Classes:
DefaultBoxAndWhiskerCategoryDataset,DefaultBoxAndWhiskerXYDataset,DefaultMultiValueCategoryDataset,DefaultStatisticalCategoryDataset,DynamicTimeSeriesCollection,JDBCXYDataset,XYSeriesCollection
public interface RangeInfo
An interface (optional) that can be implemented by a dataset to assist in
determining the minimum and maximum values. See also
DomainInfo.-
Method Summary
Modifier and TypeMethodDescriptiongetRangeBounds(boolean includeInterval) Returns the range of the values in this dataset's range.doublegetRangeLowerBound(boolean includeInterval) Returns the minimum y-value in the dataset.doublegetRangeUpperBound(boolean includeInterval) Returns the maximum y-value in the dataset.
-
Method Details
-
getRangeLowerBound
Returns the minimum y-value in the dataset.- Parameters:
includeInterval- a flag that determines whether or not the y-interval is taken into account.- Returns:
- The minimum value.
-
getRangeUpperBound
Returns the maximum y-value in the dataset.- Parameters:
includeInterval- a flag that determines whether or not the y-interval is taken into account.- Returns:
- The maximum value.
-
getRangeBounds
Returns the range of the values in this dataset's range.- Parameters:
includeInterval- a flag that determines whether or not the y-interval is taken into account.- Returns:
- The range (or
nullif the dataset contains no values).
-