ChartDirector Ver 3.1 (PHP Edition Edition)

PlotArea.setBackground


Usage

setBackground(color[, altBgColor[, edgeColor]])

Description

Set the background colors and the border color of the plot area.

A plot area can have one or two background colors. If it has two background colors, they are drawn alternatively as horizontal bands on the background grid.

Arguments

ArgumentDefaultDescription
color(Mandatory)The background color.
altBgColor-1The second background color. -1 means there is no second background color.
edgeColorLineColorThe color used to draw the border of the plot area.

Return Value

None