NumericRange Class

The storage of the NumericAxisX or NumericAxisY axis' range settings.

Declaration

public class NumericRange
extends RangeBase

Inheritance

Inherited Members

java.lang.Object.equals(java.lang.Object)
java.lang.Object.hashCode()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.toString()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long, int)

Constructors

NumericRange() Constructor

Initializes a new NumericRange class instance with default parameters.

Declaration

public NumericRange()

NumericRange(double, double) Constructor

Initializes a new NumericRange class instance with the specified parameters.

Declaration

public NumericRange(double min, double max)

Parameters

Type Name Description
double min

The data range's start value.

double max

The data range's end value.

Methods

Constructors

NumericRange.getMax() Method

Returns the end value of a data range that a chart can visualize.

Declaration

public double getMax()

Returns

Type Description
double

The double value that is the range's end value.

Note that data that is out of the [min, max] range is never visualized.

NumericRange.getMin() Method

Returns the start value of a data range that a chart can visualize.

Declaration

public double getMin()

Returns

Type Description
double

The double value that is the start value of range.

Note that data that is out of the [min, max] range is never visualized.

NumericRange.getVisualMax() Method

Returns the end value of a range that is currently displayed on a screen.

Declaration

public double getVisualMax()

Returns

Type Description
double

The end value of the on-screen range.

Note that this value should be within a [min, max] range.

NumericRange.getVisualMin() Method

Returns the start value of a range that is currently displayed on a screen.

Declaration

public double getVisualMin()

Returns

Type Description
double

The start value of the on-screen range.

Note that this value should be within a [min, max] range.

NumericRange.setMax(double) Method

Specifies the end value of a data range that a chart can visualize.

Declaration

public void setMax(double value)

Parameters

Type Name Description
double value

The double value that is the range's end value.

Note that data that is out of the [min, max] range is never visualized.

NumericRange.setMin(double) Method

Specifies the start value of a data range that a chart can visualize.

Declaration

public void setMin(double value)

Parameters

Type Name Description
double value

The double value that is the start value of range.

Note that data that is out of the [min, max] range is never visualized.

NumericRange.setVisualMax(double) Method

Specifies the end value of a range that is currently displayed on a screen.

Declaration

public void setVisualMax(double value)

Parameters

Type Name Description
double value

The end value of the on-screen range.

Note that this value should be within a [min, max] range.

NumericRange.setVisualMin(double) Method

Specifies the start value of a range that is currently displayed on a screen.

Declaration

public void setVisualMin(double value)

Parameters

Type Name Description
double value

The start value of the on-screen range.

Note that this value should be within a [min, max] range.