getDataColumn(index: Number): PP.Ui.RatingChartDataColumn;
index. Index of returned value column.
The getDataColumn method returns rating chart value column by its index.
Executing the example requires that the page contains the RatingChart component named ratingChart (see Example of Creating the RatingChart Component). Get title text of the rating chart first value column:
// Get the first value column dataColumn = ratingChart.getDataColumn(0); // Get the first value column header text dataColumn.getTitle();
After executing the example the console displays the title text of the rating chart first value column.
See also: