RatingChart.DataColumns

Syntax

DataColumns: Array of PP.Ui.RatingChartDataColumn;

Description

The DataColumns property determines array of rating chart value columns.

Comments

Use JSON to set the property value and the getDataColumns method to get the property value.

The property determines view order of value columns.

Example

Executing the example requires that the page contains the RatingChart component named ratingChart (see Example of Creating the RatingChart Component). Get array of value columns, make the first array column active:

// Get value columns array
dataColumns = ratingChart.getDataColumns();
// Get the first column of the array
column = dataColumns[0];
// Make the column active
column.setIsActive(true);

After executing the example the first value column of the rating chart will be active.

See also:

RatingChart