RatingChart.AggregatedSerie

Syntax

AggregatedSerie: PP.Ui.RatingChartSerie;

Description

The AggregatedSerie property determines aggregation line of data series values.

Comments

Use JSON or the setAggregatedSerie method to set the property value and the getAggregatedSerie method to get the property value.

The default name of the aggregation line is Others.

To determine index of the string, after which data series values will be aggregated, use the RatingChart.AggregationAfter property.

Example

Executing the example requires that the page contains the RatingChart component named ratingChart (see Example of Creating the RatingChart Component). Get aggregation line and rename it:

// Aggregate rating chart elements beginning with the third one
ratingChart.setAggregationAfter(2);
// Get aggregation line and rename it
if (ratingChart.isAggregatedSerieVisible)
{aggr = ratingChart.getAggregatedSerie();
aggr.setName("Amount of the rest")}

After executing the example rating chart elements will be aggregated, aggregation line will be renamed.

See also:

RatingChart