EJSC.Chart.background

See Also: Using Colors

Top  Previous  Next

 

Definition

 

object background = {

               color: "#FFF",

               opacity: 0,

               includeTitle: false

};

 

Description

 

Defines the color and opacity of the chart area background.  If the includeTitle property is set to true, the title bar area will be filled as well.  If opacity is 0, no fill will occur.

 

 

NOTE: To set the color of then entire chart area (all axes, chart, titlebar, etc.), set the background-color style for the chart DOM object.

 

<div id="chart" style="width: 400px; height: 400px; background-color: #ffff00;"></div>