Chart.addSeries Method

Adds series to the chart.
 

Parameters

series

Type: Object
ElementType: ChartSeries
A series or array of series
insertIndex

Type: Number (Integer)
(optional) An index in the series array at which to insert the series. If not specified, the series will be added to the end.
Optional: True

Return Value


Type: Number (Integer)
The new number of series.