RatingChart.Series

Syntax

Series: Array of PP.Ui.RatingChartSerie;

Description

The Series property determines data series array of the rating chart.

Comments

Use JSON to set the property value and the getSeries method to get the property value.

Data series order in the array corresponds to the displayed order.

Example

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

// Get data series array
series = ratingChart.getSeries();
// Get the first data series
serie = series[0];
// Get data series name
serie.getName();

After executing the example the console displays the first data series name of the rating chart.

See also:

RatingChart