getSerie(index: Number): PP.Ui.RatingChartSerie;
index. Index of returned data series.
The getSerie method returns data series of rating chart by its index.
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: