Add a point to the series after render time.
Add a point to the series after render time. The point can be added at the end, or by giving it an X value, to the start or in the middle of the series.
Defaults to true. When true, the graph will be animated with default animation options.
The animation can also be a configuration object with properties duration
and easing
.
Read only.
Read only. The chart that the series belongs to.
Hides the series if visible.
Hides the series if visible. If the chart.ignoreHiddenSeries
option is true, the chart is redrawn without this series.
The series' name as given in the options.
Read only.
Read only. The series' options.
Remove the series from the chart.
Remove the series from the chart.
Defaults to true
. Whether to redraw the chart after the series is removed.
If doing more operations on the chart, it is a good idea to set redraw to false and call chart.redraw()
after.
Select or unselect the series.
Select or unselect the series. This means its selected
property is set,the checkbox in the legend
is toggled and when selected, the series is returned in the chart.getSelectedSeries()
method.
Read only.
Read only. The series' selected state as set by series.select()
.
Apply a new set of data to the series and optionally redraw it.
Apply a new set of data to the series and optionally redraw it. Note the difference in behaviour when setting the
same amount of points, or a different amount of points, as handled by the updatePoints
parameter.
A utility function to show or hide the series with an optional redraw.
A utility function to show or hide the series with an optional redraw.
Whether to show or hide the series. If undefined, the visibility is toggled.
Defaults to true
. Whether to redraw the chart after the series is altered.If doing more operations on the chart, it is a good idea to set redraw to false and call chart.redraw()
after.
Shows the series if hidden.
Shows the series if hidden.
Read only.
Read only. The series' type, like "line", "area" etc.
Update the series with a new set of options.
Update the series with a new set of options. For a clean and precise handling of new options, all methods and elements from the series is removed, and it is initiated from scratch. Therefore, this method is more performance expensive than some other utility methods like setData
or setVisible
.
New options that will be merged into the series' existing options.
Read only.
Read only. The series' visibility state as set by series.show()
, series.hide()
, or the initial configuration.
Read only.
Read only. The unique xAxis object associated with the series.
Read only.
Read only. The unique yAxis object associated with the series.