RatingChart.getSerie

Syntax

getSerie(index: Number): PP.Ui.RatingChartSerie;

Parameters

index. Index of returned data series.

Description

The getSerie method returns data series of rating chart by its index.

Example

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

// Get the first data series
serie = ratingChart.getSerie(0);
// Get the first data series name
serie.getName();

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

See also:

RatingChart