ChartDirector 7.0 (Java Edition)

PolarChart.setPlotAreaBg


Usage

public void setPlotAreaBg(int bgColor1 [, int bgColor2 [, boolean 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.
altRingstrueA true value means the background colors alternate in the radial direction, resulting in concentric circles. A false value means the background colors alternates in the angular direction, resulting in alternating sectors.

Return Value

None