Modifier and Type | Method and Description |
---|---|
Range |
XYAnnotationBoundsInfo.getXRange()
Returns the range of x-values (in data space) that the annotation
uses.
|
Range |
XYAnnotationBoundsInfo.getYRange()
Returns the range of y-values (in data space) that the annotation
uses.
|
Modifier and Type | Field and Description |
---|---|
static Range |
ValueAxis.DEFAULT_RANGE
The default axis range.
|
Modifier and Type | Method and Description |
---|---|
Range |
ValueAxis.getDefaultAutoRange()
Returns the default auto range.
|
Range |
ValueAxis.getRange()
Returns the range for the axis.
|
Modifier and Type | Method and Description |
---|---|
void |
ValueAxis.setDefaultAutoRange(Range range)
Sets the default auto range and sends an
AxisChangeEvent to all
registered listeners. |
void |
ValueAxis.setRange(Range range)
Sets the range for the axis and sends a change event to all registered
listeners.
|
void |
PeriodAxis.setRange(Range range,
boolean turnOffAutoRange,
boolean notify)
Sets the range for the axis, if requested, sends an
AxisChangeEvent to all registered listeners. |
void |
ValueAxis.setRange(Range range,
boolean turnOffAutoRange,
boolean notify)
Sets the range for the axis and, if requested, sends a change event to
all registered listeners.
|
void |
ValueAxis.setRangeWithMargins(Range range)
Sets the range for the axis (after first adding the current margins to
the specified range) and sends an
AxisChangeEvent to all
registered listeners. |
void |
ValueAxis.setRangeWithMargins(Range range,
boolean turnOffAutoRange,
boolean notify)
Sets the range for the axis after first adding the current margins to
the range and, if requested, sends an
AxisChangeEvent to all
registered listeners. |
Modifier and Type | Method and Description |
---|---|
Range |
RectangleConstraint.getHeightRange()
Returns the width range.
|
Range |
RectangleConstraint.getWidthRange()
Returns the width range.
|
Modifier and Type | Method and Description |
---|---|
protected Size2D |
BorderArrangement.arrangeRR(BlockContainer container,
Range widthRange,
Range heightRange,
java.awt.Graphics2D g2)
Performs an arrangement with range constraints on both the vertical
and horizontal sides.
|
RectangleConstraint |
RectangleConstraint.toRangeHeight(Range range)
Returns a constraint that matches this one on the width attributes,
but has a range height constraint.
|
RectangleConstraint |
RectangleConstraint.toRangeWidth(Range range)
Returns a constraint that matches this one on the height attributes,
but has a range width constraint.
|
Constructor and Description |
---|
RectangleConstraint(double w,
Range h)
Creates a new constraint with a fixed width and a range for
the height.
|
RectangleConstraint(double w,
Range widthRange,
LengthConstraintType widthConstraintType,
double h,
Range heightRange,
LengthConstraintType heightConstraintType)
Creates a new constraint.
|
RectangleConstraint(Range w,
double h)
Creates a new constraint with a range for the width and a
fixed height.
|
RectangleConstraint(Range w,
Range h)
Creates a new "range width and height" instance.
|
Modifier and Type | Method and Description |
---|---|
Range |
FastScatterPlot.getDataRange(ValueAxis axis)
Returns the range of data values to be plotted along the axis, or
null if the specified axis isn't the domain axis or the
range axis for the plot. |
Range |
CombinedDomainXYPlot.getDataRange(ValueAxis axis)
Returns a range representing the extent of the data values in this plot
(obtained from the subplots) that will be rendered against the specified
axis.
|
Range |
CombinedRangeXYPlot.getDataRange(ValueAxis axis)
Returns a range representing the extent of the data values in this plot
(obtained from the subplots) that will be rendered against the specified
axis.
|
Range |
XYPlot.getDataRange(ValueAxis axis)
Returns the range for the specified axis.
|
Range |
ValueAxisPlot.getDataRange(ValueAxis axis)
Returns the data range that should apply for the specified axis.
|
Modifier and Type | Method and Description |
---|---|
Range |
XYItemRenderer.findDomainBounds(XYDataset dataset)
Returns the lower and upper bounds (range) of the x-values in the
specified dataset.
|
Range |
AbstractXYItemRenderer.findDomainBounds(XYDataset dataset)
Returns the lower and upper bounds (range) of the x-values in the
specified dataset.
|
Range |
XYBlockRenderer.findDomainBounds(XYDataset dataset)
Returns the lower and upper bounds (range) of the x-values in the
specified dataset.
|
protected Range |
AbstractXYItemRenderer.findDomainBounds(XYDataset dataset,
boolean includeInterval)
Returns the lower and upper bounds (range) of the x-values in the
specified dataset.
|
Range |
XYItemRenderer.findRangeBounds(XYDataset dataset)
Returns the lower and upper bounds (range) of the y-values in the
specified dataset.
|
Range |
AbstractXYItemRenderer.findRangeBounds(XYDataset dataset)
Returns the range of values the renderer requires to display all the
items from the specified dataset.
|
Range |
XYBlockRenderer.findRangeBounds(XYDataset dataset)
Returns the range of values the renderer requires to display all the
items from the specified dataset.
|
protected Range |
AbstractXYItemRenderer.findRangeBounds(XYDataset dataset,
boolean includeInterval)
Returns the range of values the renderer requires to display all the
items from the specified dataset.
|
Modifier and Type | Method and Description |
---|---|
protected Size2D |
TextTitle.arrangeRN(java.awt.Graphics2D g2,
Range widthRange)
Arranges the content for this title assuming a range constraint for the
width and no bounds on the height, and returns the required size.
|
protected Size2D |
TextTitle.arrangeRR(java.awt.Graphics2D g2,
Range widthRange,
Range heightRange)
Returns the content size for the title.
|
protected Size2D |
PaintScaleLegend.arrangeRR(java.awt.Graphics2D g2,
Range widthRange,
Range heightRange)
Returns the content size for the title.
|
Modifier and Type | Method and Description |
---|---|
static Range |
Range.combine(Range range1,
Range range2)
Creates a new range by combining two existing ranges.
|
static Range |
Range.combineIgnoringNaN(Range range1,
Range range2)
Returns a new range that spans both
range1 and
range2 . |
static Range |
Range.expand(Range range,
double lowerMargin,
double upperMargin)
Creates a new range by adding margins to an existing range.
|
static Range |
Range.expandToInclude(Range range,
double value)
Returns a range that includes all the values in the specified
range AND the specified value . |
Range |
DomainInfo.getDomainBounds(boolean includeInterval)
Returns the range of the values in this dataset's domain.
|
Range |
RangeInfo.getRangeBounds(boolean includeInterval)
Returns the range of the values in this dataset's range.
|
static Range |
Range.scale(Range base,
double factor)
Scales the range by the specified factor.
|
static Range |
Range.shift(Range base,
double delta)
Shifts the range by the specified amount.
|
static Range |
Range.shift(Range base,
double delta,
boolean allowZeroCrossing)
Shifts the range by the specified amount.
|
Modifier and Type | Method and Description |
---|---|
static Range |
Range.combine(Range range1,
Range range2)
Creates a new range by combining two existing ranges.
|
static Range |
Range.combineIgnoringNaN(Range range1,
Range range2)
Returns a new range that spans both
range1 and
range2 . |
static Range |
Range.expand(Range range,
double lowerMargin,
double upperMargin)
Creates a new range by adding margins to an existing range.
|
static Range |
Range.expandToInclude(Range range,
double value)
Returns a range that includes all the values in the specified
range AND the specified value . |
boolean |
Range.intersects(Range range)
Returns
true if the range intersects with the specified
range, and false otherwise. |
static Range |
Range.scale(Range base,
double factor)
Scales the range by the specified factor.
|
static Range |
Range.shift(Range base,
double delta)
Shifts the range by the specified amount.
|
static Range |
Range.shift(Range base,
double delta,
boolean allowZeroCrossing)
Shifts the range by the specified amount.
|
Modifier and Type | Method and Description |
---|---|
static Range |
DatasetUtilities.findDomainBounds(XYDataset dataset)
Returns the range of values in the domain (x-values) of a dataset.
|
static Range |
DatasetUtilities.findDomainBounds(XYDataset dataset,
boolean includeInterval)
Returns the range of values in the domain (x-values) of a dataset.
|
static Range |
DatasetUtilities.findDomainBounds(XYDataset dataset,
java.util.List visibleSeriesKeys,
boolean includeInterval)
Returns the bounds of the x-values in the specified
dataset
taking into account only the visible series and including any x-interval
if requested. |
static Range |
DatasetUtilities.findRangeBounds(XYDataset dataset)
Returns the range of values in the range for the dataset.
|
static Range |
DatasetUtilities.findRangeBounds(XYDataset dataset,
boolean includeInterval)
Returns the range of values in the range for the dataset.
|
static Range |
DatasetUtilities.findRangeBounds(XYDataset dataset,
java.util.List visibleSeriesKeys,
Range xRange,
boolean includeInterval)
Finds the bounds of the y-values in the specified dataset, including
only those series that are listed in visibleSeriesKeys, and those items
whose x-values fall within the specified range.
|
static Range |
DatasetUtilities.findStackedRangeBounds(TableXYDataset dataset)
Returns the minimum and maximum values for the dataset's range,
assuming that the series are stacked.
|
static Range |
DatasetUtilities.findStackedRangeBounds(TableXYDataset dataset,
double base)
Returns the minimum and maximum values for the dataset's range,
assuming that the series are stacked, using the specified base value.
|
static Range |
DatasetUtilities.findZBounds(XYZDataset dataset)
Returns the range of values in the z-dimension for the dataset.
|
static Range |
DatasetUtilities.findZBounds(XYZDataset dataset,
boolean includeInterval)
Returns the range of values in the z-dimension for the dataset.
|
static Range |
DatasetUtilities.findZBounds(XYZDataset dataset,
java.util.List visibleSeriesKeys,
Range xRange,
boolean includeInterval)
Finds the bounds of the z-values in the specified dataset, including
only those series that are listed in visibleSeriesKeys, and those items
whose x-values fall within the specified range.
|
static Range |
DatasetUtilities.iterateDomainBounds(XYDataset dataset)
Iterates over the items in an
XYDataset to find
the range of x-values. |
static Range |
DatasetUtilities.iterateDomainBounds(XYDataset dataset,
boolean includeInterval)
Iterates over the items in an
XYDataset to find
the range of x-values. |
static Range |
DatasetUtilities.iterateRangeBounds(XYDataset dataset)
Iterates over the data item of the xy dataset to find
the range bounds.
|
static Range |
DatasetUtilities.iterateRangeBounds(XYDataset dataset,
boolean includeInterval)
Iterates over the data items of the xy dataset to find
the range bounds.
|
static Range |
DatasetUtilities.iterateToFindDomainBounds(XYDataset dataset,
java.util.List visibleSeriesKeys,
boolean includeInterval)
Returns the range of x-values in the specified dataset for the
data items belonging to the visible series.
|
static Range |
DatasetUtilities.iterateToFindRangeBounds(XYDataset dataset,
java.util.List visibleSeriesKeys,
Range xRange,
boolean includeInterval)
Returns the range of y-values in the specified dataset for the
data items belonging to the visible series and with x-values in the
given range.
|
static Range |
DatasetUtilities.iterateToFindZBounds(XYZDataset dataset,
java.util.List visibleSeriesKeys,
Range xRange,
boolean includeInterval)
Returns the range of z-values in the specified dataset for the
data items belonging to the visible series and with x-values in the
given range.
|
static Range |
DatasetUtilities.iterateXYRangeBounds(XYDataset dataset)
Deprecated.
As of 1.0.10, use
DatasetUtilities.iterateRangeBounds(XYDataset) . |
static Range |
DatasetUtilities.iterateZBounds(XYZDataset dataset)
Iterates over the data item of the xyz dataset to find
the z-dimension bounds.
|
static Range |
DatasetUtilities.iterateZBounds(XYZDataset dataset,
boolean includeInterval)
Iterates over the data items of the xyz dataset to find
the z-dimension bounds.
|
Modifier and Type | Method and Description |
---|---|
static Range |
DatasetUtilities.findRangeBounds(XYDataset dataset,
java.util.List visibleSeriesKeys,
Range xRange,
boolean includeInterval)
Finds the bounds of the y-values in the specified dataset, including
only those series that are listed in visibleSeriesKeys, and those items
whose x-values fall within the specified range.
|
static Range |
DatasetUtilities.findZBounds(XYZDataset dataset,
java.util.List visibleSeriesKeys,
Range xRange,
boolean includeInterval)
Finds the bounds of the z-values in the specified dataset, including
only those series that are listed in visibleSeriesKeys, and those items
whose x-values fall within the specified range.
|
static Range |
DatasetUtilities.iterateToFindRangeBounds(XYDataset dataset,
java.util.List visibleSeriesKeys,
Range xRange,
boolean includeInterval)
Returns the range of y-values in the specified dataset for the
data items belonging to the visible series and with x-values in the
given range.
|
static Range |
DatasetUtilities.iterateToFindZBounds(XYZDataset dataset,
java.util.List visibleSeriesKeys,
Range xRange,
boolean includeInterval)
Returns the range of z-values in the specified dataset for the
data items belonging to the visible series and with x-values in the
given range.
|
Modifier and Type | Method and Description |
---|---|
Range |
IntervalXYDelegate.getDomainBounds(boolean includeInterval)
Returns the range of the values in the dataset's domain, including
or excluding the interval around each x-value as specified.
|
Range |
XYSeriesCollection.getDomainBounds(boolean includeInterval)
Returns the range of the values in this dataset's domain.
|
Range |
XYDomainInfo.getDomainBounds(java.util.List visibleSeriesKeys,
boolean includeInterval)
Returns the range of the values in this dataset's domain.
|
Range |
XYSeriesCollection.getRangeBounds(boolean includeInterval)
Returns the range of the values in this dataset's range.
|
Range |
XYRangeInfo.getRangeBounds(java.util.List visibleSeriesKeys,
Range xRange,
boolean includeInterval)
Returns the range of the values in this dataset's range.
|
Modifier and Type | Method and Description |
---|---|
Range |
XYRangeInfo.getRangeBounds(java.util.List visibleSeriesKeys,
Range xRange,
boolean includeInterval)
Returns the range of the values in this dataset's range.
|