ChartAxis
An interface for the Chart axes API.
Methods
range
Returns the axis range.
Returns
- The axis range.
slot
Returns a slot based on the specified from
and to
values.
Parameters
from
string | number | Date
The slot start value.
to?
string | number | Date
The end slot value. If not specified, the from
value is used.
limit?
boolean
The parameters for the exported image.
Returns
- Indicates whether the slot is limited to the current range. By default, the range is limited.
value
Returns the value that corresponds to the passed surface point.
Parameters
point
The surface point of the Chart.
Returns
string | number | Date
- The value that corresponds to the point.
valueRange
Returns the axis range which is determined by the minimum and maximum point values that are associated with the axis.
Returns
- The value range.