RatingChart.getDataColumn

Syntax

getDataColumn(index: Number): PP.Ui.RatingChartDataColumn;

Parameters

index. Index of returned value column.

Description

The getDataColumn method returns rating chart value column 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 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:

RatingChart