RatingChart.IndexColumn

Syntax

IndexColumn: PP.Ui.RatingChartColumn;

Description

The IndexColumn property determines column with data series numbers.

Comments

Use JSON or the setIndexColumn method to set the property value and the getIndexColumn method to get the property value.

Example

Executing the example requires that the page contains the RatingChart component named ratingChart (see Example of Creating the RatingChart Component). Rename the column header with rating chart data series numbers and change the column width:

// Get and rename column header with data series numbers
indexColumn = ratingChart.getIndexColumn();
indexColumn.setTitle("Series number");
// Change column width
indexColumn.setWidth(20);
// Update the chart
indexColumn.getChart().update(true,true,true);

After executing the example the column header with rating chart data series numbers will be renamed, the column width will also be changed.

See also:

RatingChart