drawHeader();
The drawHeader method redraws rating chart header row.
Executing the example requires that the page contains the RatingChart component named ratingChart (see Example of Creating the RatingChart Component). Set up background fill color of header row and update the row:
// Get header row header = ratingChart.getHeader(); // Set up background color style = new PP.Style({Background: ({Color: "#008A00"})}); header.setStyle(style); // Redraw header row ratingChart.drawHeader()
After executing the example background fill color in rating chart header row will be set up and applied.
See also: