ChartDirector 7.1 (.NET Edition)

Axis.addZone


Usage

[C#]public void addZone(double startValue, double endValue, int color);
[VB]Public Sub addZone(startValue As Double, endValue As Double, color As Integer)

Description

Adds a zone to the chart.

A zone is a range of values. For example, "10 to 20" is a zone. Typically, a zones are used to classify data ranges. For example, you may classify 0 - 60 as the normal zone, 60 - 90 as the warning zone, and 90 - 100 as the critical zone.

A zone based on a horizontal axis will be drawn as a vertical band. A zone based on a vertical axis will be drawn as a horizontal band. Zones are always drawn at the back of the plot area.

Arguments

ArgumentDefaultDescription
startValue(Mandatory)The start value (the lower bound) for the zone.
endValue(Mandatory)The end value (the upper bound) for the zone.
color(Mandatory)The color of the zone.

Return Value

None