ChartDirector 7.1 (C++ Edition)

AngularAxis.addZone


Usage

void addZone(double startValue, double endValue, int startRadius, int endRadius, int fillColor, int edgeColor = -1);

Description

Adds an angular zone to the polar chart.

An angular zone marks an angular region that spans from a start angle to an end angle, where the angles are specified as data values on the angular axis scale. The addZone method allows you to specify a starting and ending radius in pixels for drawing the zone.

Arguments

ArgumentDefaultDescription
startValue(Mandatory)The data value that marks the start angular position of the zone.
endValue(Mandatory)The data value that marks the end angular position of the zone.
startRadius(Mandatory)The starting radius of the zone in radial axis scale.
endRadius(Mandatory)The ending radius of the zone in radial axis scale.
fillColor(Mandatory)The fill color of the zone.
edgeColor-1The edge color of the zone. The default is the same as the fill color.

Return Value

None