Add a series to the chart after render time.
Add a series to the chart after render time. Note that this method should never be used when adding data synchronously at chart render time, as it adds expense to the calculations and rendering. When adding data at the same time as the chart is initiated, add the series as a configuration option instead. With multiple axes, the offset is dynamically adjusted.
The series options, as documented under plotOptions.series and under the plotOptions for each series type.
Add an axis to the chart after render time.
Add an axis to the chart after render time. Note that this method should never be used when adding data synchronously at chart render time, as it adds expense to the calculations and rendering. When adding data at the same time as the chart is initiated, add the axis as a configuration option instead.
Add an axis to the chart after render time.
Add an axis to the chart after render time. Note that this method should never be used when adding data synchronously at chart render time, as it adds expense to the calculations and rendering. When adding data at the same time as the chart is initiated, add the axis as a configuration option instead.
Redraw the chart after changes have been done to the data or axis extremes.
Redraw the chart after changes have been done to the data or axis extremes. All methods for updating axes, series
or points have a parameter for redrawing the chart. This is true
by default.
But in many cases you want to do more than one operation on the chart before redrawing, for example add a number of points.
In those cases it is a waste of resources to redraw the chart for each new point added. So you add the points and call chart.redraw()
after.
Defaults to true. When true, the update will be animated with default animation options. The animation can also be a configuration object with properties duration
and easing
.
Returns an array of all currently selected points in the chart.
Returns an array of all currently selected points in the chart. Points can be selected either programmatically
by the point.select()
method or by clicking.
Returns an array of all currently selected series in the chart.
Returns an array of all currently selected series in the chart. Series can be selected either programmatically
by the series.select()
method or by checking the checkbox next to the legend item if series.showCheckBox
is true.
An array of all the chart's series.
Resize the chart to a given width and height.
Resize the chart to a given width and height. In order to set the width only, the height argument can be skipped.
To set the height only, pass undefined
for the width.
The new pixel width of the chart. Since v4.2.6, the argument can be undefined
in order to preserve the current value (when setting height only), or null
to adapt to the width of the containing element.
An array of the chart's x axes.
An array of the chart's x axes. If only one x axis, it is referenced by chart.xAxis[0]
.
An array of the chart's y axes.
An array of the chart's y axes. If only one y axis, it is referenced by chart.yAxis[0]
.