Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Property

Background

The background color for the main area of the chart. Can be either a simple HTML color string, for example: 'red' or '#00cc00'

Code Block
Chart.setBackground(Background.Color("red"));
Code Block
languagejava
/*
 * Param 1 = Bordercolor
 * Param 2 = Borderwidth
 * Param 3 = Backgroundcolor
 */
Chart.setBackground(Background.StrokeFill("black", 5, "white"));