RatingChartSerie.resetAsAggregated

Syntax

resetAsAggregated();

Description

The resetAsAggregated method resets data series values.

Example

Executing the example requires that the page contains the RatingChart component named ratingChart (see Example of Creating the RatingChart Component). Reset value of the first data series:

// Get the first data series
serie = ratingChart.getSerie(0);
// Reset value
serie.resetAsAggregated();
// Display data series value
serie.getValue();
// -> null

After executing the example the value of the first data series will be equal to null.

See also:

RatingChartSerie