Add a plot band after render time.
Add a plot band after render time.
A configuration object consisting of the same members as options.xAxis.plotBands
1.2.0
Add a plot line after render time.
Add a plot line after render time.
A configuration object consisting of the same members as options.xAxis.plotLines
1.2.0
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
.1.2.0
Remove an axis from the chart.
Remove an axis from the chart.
Defaults to true
. Whether to redraw the chart following the remove.
3.0
Remove a plot band by its id
.
Remove a plot band by its id
.
The plot band's id
as given in the original configuration object or in the addPlotBand method.
1.2.0
Remove a plot line by its id
.
Remove a plot line by its id
.
The plot line's id
as given in the original configuration object or in the addPlotLine method.
1.2.0
Set new categories for the axis.
Set new categories for the axis.
Defaults to true
. Whether to redraw the axis or wait for an explicit call to chart.redraw()
.
1.2.0
Set the minimum and maximum of the axes after render time.
Set the minimum and maximum of the axes after render time. If the startOnTick
and endOnTick
options are true, the minimum and maximum values are rounded off to the nearest tick. To prevent this, these options can be set to false before calling setExtremes. Also, setExtremes
will not allow a range lower than the minRange option, which by default is the range of five points.
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
.
1.2.0
Update the title of the axis after render time.
Update the title of the axis after render time.
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()
2.2
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.
3.0
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.
3.0
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.
3.0
JavaScript name:
Axis