IndexBrush: PP.SolidColorBrush | String;
The IndexBrush property determines background fill color for data series numbers.
Use JSON or the setIndexBrush method to set the property value and the getIndexBrush method to get the property value.
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: