getSeriesStacks(filter: String);
filter. Type of the chart for which stacks are recalculated. Available values:
column. Histogram.
linear. Line chart (default).
The getSeriesStacks method recalculates all chart stacks for further calculations.
The method returns an object with the following fields:
Primary. The array that contains sums of data series values for each of the X axis points, if values of data series at the primary value axis are used.
Secondary. Array that contains sums of data series values for each point at the X axis, if values of data series at the secondary value axis are used.
The example of use is given on the page with description of the Chart.Stacking property.
See also: