Get the current extremes for the axis.
Get the current extremes for the axis. The returned object contains:
<dl> <dt>dataMax:</dt>
<dt>dataMin:</dt>
<dt>max:</dt>
max
option is not set, maxPadding
is 0 and endOnTick
is false
, this value will be the same as dataMax
.<dt>min:</dt>
min
option is not set, minPadding
is 0 and startOnTick
is false
, this value will be the same as dataMin
.Remove an axis from the chart.
Remove an axis from the chart. Usually in maps we have only one X and one Y axis which are defined from start, so this method is not used.
Defaults to true
. Whether to redraw the chart following the remove.
Set the minimum and maximum of the axes after render time.
Set the minimum and maximum of the axes after render time. The setExtremes
method will not allow a range lower than the minRange option.
In Highmaps, the X and Y axis will preserve the aspect ratio, so zooming on one axis will affect the other.
The new minimum value
The new maximum value
Defaults to true
. Whether to redraw the chart or wait for an explicit call to chart.redraw()
.
Defaults to true. When true, the resize will be animated with default animation options. The animation can also be a configuration object with properties duration
and easing
.
Update the title of the axis after render time.
Update the title of the axis after render time. In Highmaps, X and Y axis titles are hidden by default.
The new title options on the same format as given in xAxis.title.
Whether to redraw the chart now or hold until the next chart.redraw()
Translates a value in terms of axis units in to pixels within the chart.
Translates a value in terms of axis units in to pixels within the chart.
A value in terms of axis units.
Translate a pixel position along the axis to a value in terms of axis units.
Translate a pixel position along the axis to a value in terms of axis units.
A pixel position along the axis.
Update an axis object with a new set of options.
Update an axis object with a new set of options. The options are merged with the existing options, so only new or altered options need to be specified.
The new options that will be merged in with existing options on the axis.
JavaScript name:
Axis