RatingChart.IndexBrush

Syntax

IndexBrush: PP.SolidColorBrush | String;

Description

The IndexBrush property determines background fill color for data series numbers.

Comments

Use JSON or the setIndexBrush method to set the property value and the getIndexBrush 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). Change background fill color of data series numbers:

// Change background color of data series numbers
indexBrush = ratingChart.getIndexBrush();
indexBrush.setColor("#008A00");
// Update rating chart
ratingChart.update(true,true,true);

After executing the example the background fill color of data series numbers will be changed.

See also:

RatingChart