- All Known Implementing Classes:
DefaultBoxAndWhiskerCategoryDataset
,DefaultBoxAndWhiskerXYDataset
,DefaultMultiValueCategoryDataset
,DefaultStatisticalCategoryDataset
,DynamicTimeSeriesCollection
,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.double
getRangeLowerBound
(boolean includeInterval) Returns the minimum y-value in the dataset.double
getRangeUpperBound
(boolean includeInterval) Returns the maximum y-value in the dataset.
-
Method Details
-
getRangeLowerBound
double getRangeLowerBound(boolean includeInterval) 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
double getRangeUpperBound(boolean includeInterval) 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
null
if the dataset contains no values).
-