NumericRange Class
The storage of the NumericAxisX or NumericAxisY axis’ range settings.
Declaration
public class NumericRange
extends RangeBase
Inherited Members
Inheritance
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
Name | Type | Description |
---|---|---|
min | double | The data range’s start value. |
max | double | The data range’s end value. |
Methods
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. |
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. |
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. |
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. |
setMax(double) Method
Specifies the end value of a data range that a chart can visualize.
Declaration
public void setMax(double value)
Parameters
Name | Type | Description |
---|---|---|
value | 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. |
setMin(double) Method
Specifies the start value of a data range that a chart can visualize.
Declaration
public void setMin(double value)
Parameters
Name | Type | Description |
---|---|---|
value | 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. |
setVisualMax(double) Method
Specifies the end value of a range that is currently displayed on a screen.
Declaration
public void setVisualMax(double value)
Parameters
Name | Type | Description |
---|---|---|
value | double | The end value of the on-screen range. Note that this value should be within a [min, max] range. |
setVisualMin(double) Method
Specifies the start value of a range that is currently displayed on a screen.
Declaration
public void setVisualMin(double value)
Parameters
Name | Type | Description |
---|---|---|
value | double | The start value of the on-screen range. Note that this value should be within a [min, max] range. |