ChartDirector 7.0 (Perl Edition)

PolarChart.setPlotAreaBg


Usage

setPlotAreaBg(bgColor1 [, bgColor2 [, altRings ]])

Description

Sets alternating background colors for the polar plot area.

ChartDirector supports using two alternating background colors for the polar plot area. The colors can change on the radial direction, resulting in concentric circles, on an the angular direction, resulting in alternating sectors.

Arguments

ArgumentDefaultDescription
bgColor1(Mandatory)The first background color.
bgColor2-1The second background color. -1 means it is the same as the first background color.
altRingstrue (non-zero)A true (non-zero) value means the background colors alternate in the radial direction, resulting in concentric circles. A false (zero) value means the background colors alternates in the angular direction, resulting in alternating sectors.

Return Value

None