ChartDirector 6.0 (ColdFusion Edition)

ContourLayer.setExactContour


Usage

setExactContour([ contour [, markContour ]])

Description

Sets whether to use exact contours or boundary contours.

In exact contour mode, the contour at z = N refers to all points at z = N. For example, the contour at z = 10 refers to all points at z = 10. These points normally constitute lines. However, in case there is an exactly flat region at z = 10, the entire region will be the contour and will be colored using the contour color. In other words, instead of lines, a contour can become a region.

In boundary contour mode, the contour at z = N refers to the boundary between z < N and z >= N, except for the highest contour in which case the contour is the boundary between z <= N and z > N. With this method, if there is a flat region, the contour will occur at the boundary of the region.

If this method is never called, the default is to use boundary contour mode.

Arguments

ArgumentDefaultDescription
contourtrue (non-zero)A true (non-zero) value specifies exact contour mode for standard contours, otherwise boundary contour mode will be used.
markContour[Same_As_Contour]A true (non-zero) value specifies exact contour mode for mark contours. A false (zero) value specifies boundary contour mode for mark contours. A mark contour is an extra contour added using Axis.addMark on the color axis (obtained using ContourLayer.colorAxis). If this parameter is not specified, the default is to use the same contour mode as standard contours.

Return Value

None