Series: Array;
The Series property determines array of chart data series.
Use JSON or the setSeries method to set the property value, and the getSeries method to get the property value.
The array contains objects of the PP.Ui.ChartCanvasSerie type.
The getSeries method includes the trendLines parameter that indicates whether trend series should be accounted for when getting the array, and the invisible parameter that determines whether hidden series must be excluded.
Available values of the trendLines parameter:
true. Trend series are taken into account on getting the array.
false. Trend series are ignored when getting the array (default).
Available values of the invisible parameter:
true. Hidden series are excluded when getting the array.
false. Hidden series are not excluded when getting the array (default).
The example of use is given on the page with description of the Chart.removeAllSeries method.
See also: