@GAUGE_RANGE_START_STOP (Gauge Band Start/Stop)

The @GAUGE_RANGE... macros can be used to draw up to five gauge bands on the face of the gauge. The @GAUGE_RANGE_START_STOP and @GAUGE_RANGE_THRESHOLD macros can be used to define the axis values at which the gauge bands start/end. The @GAUGE_RANGE_START_STOP macro defines the axis value where a band starts and ends. For example if the axis values in the gauge are 0...500,000, you might define a gauge band that starts at 100,000 and stops at 200,000 and another gauge band that starts at 200,000 and stops at 300,000. The @GAUGE_RANGE_THRESHOLD macro defines an ending band location. When this macro is used, the gauge band starts at the end of the previous band location (zero for gauge band zero). The @GAUGE_RANGE_COLOR macro can be used to assign a color to each gauge band. The @GAUGE_RANGE_THICKNESS macro defines the thickness of the band as a percentage of the available space inside the gauge. If @GAUGE_RANGE... macros are not defined, gauge bands are not drawn on the face of the gauge.

SYNTAX:

@GAUGE_RANGE_START_STOP targetGaugeRange rangeStart rangeEnd

PARAMETERS:

targetGaugeRange; 0...4 selects a gauge band

rangeStart; Value at which to start targetGaugeRange band

rangeEnd; Value at which to end targetGaugeRange band

EXAMPLE:

@GAUGE_RANGE_COLOR 0 255 0 0 255
@GAUGE_RANGE_COLOR 1 0 255 0 255
@GAUGE_RANGE_COLOR 2 0 0 255 255
@GAUGE_RANGE_START_STOP 0 50000 100000
@GAUGE_RANGE_START_STOP 1 150000 300000
@GAUGE_RANGE_START_STOP 2 350000 400000

@GAUGE_RANGE_COLOR 0 255 0 0 255
@GAUGE_RANGE_COLOR 1 0 255 0 255
@GAUGE_RANGE_COLOR 2 0 0 255 255
@GAUGE_RANGE_START_STOP 0 50000 100000
@GAUGE_RANGE_START_STOP 1 150000 350000
@GAUGE_RANGE_START_STOP 2 350000 450000

PERSISTENT:

NO

Next Macro Previous Macro Return to Alpha List

Next Macro in this Group Previous Macro in this Group Return to Group List