The macro defines and colors up to six segments in the gauge range.
SYNTAX:
@GAUGE_RANGE number fromValue toValue fill
PARAMETERS:
number; 0...5 Gauge Range Segment Number
fromValue; Starting Value
toValue; Ending Value
fill; Color, Gradient, or Image defined in any of the following formats:
Data Type
Range
Example
Color
Hex
0x000000...0xFFFFFF
0xFF0000 (Red)
HTML
#000000...#FFFFFF
#FF0000 = Red
Integer
three integers 0...255 specifying the red, green, & blue components of the color
255 0 0 = Red
String
a color name string from http://www.w3schools.com/CSS/css_colornames.asp
Red
Color + Transparency
String:
Integera color name string from http://www.w3schools.com/CSS/css_colornames.asp:0...255
Red:224 (almost opaque)
HTML
#00000000...#FFFFFFE0 where: last two characters specify transparency level
#ff0000e0
#ff0000=Red
e0=TransparencyGradient
String
@GAUGE_RANGE 0 0 10 MyGradientDef
Picture
String
@GAUGE_RANGE 0 0 10
MyPictureDefEXAMPLE: @GAUGE_RANGE.WID
@GAUGE
@GAUGE_RANGE 0 0 10 Red
@GAUGE_RANGE 1 10 20 Yellow
@GAUGE_RANGE 2 20 35 Orange
@GAUGE_RANGE 3 35 40 Blue
@GAUGE_RANGE 4 40 45 Green
Next Macro
Previous Macro
Return to Alpha List
Next Macro in this Group
Previous Macro in this Group
Return to Group List