Colors property: Threshold class
Description
Use this property to specify the color values as an Array of Number. Choose a color for each reference area on the gauge.
The following lists all the values you can specify. You can use either the numeric or constant value.
| Numeric Value | Constant Value | Description |
|---|---|---|
|
-1 |
%ChartColor_Series_Default Note: %ChartColor_Series_Default is the default value. |
Default color as selected by the charting engine. |
|
0 |
%ChartColor_Black |
Black |
|
1 |
%ChartColor_Blue |
Blue |
|
2 |
%ChartColor_Cyan |
Cyan |
|
3 |
%ChartColor_DarkGray |
Dark gray |
|
4 |
%ChartColor_Gray |
Gray |
|
5 |
%ChartColor_Green |
Green |
|
6 |
%ChartColor_LightGray |
Light gray |
|
7 |
%ChartColor_Magenta |
Magenta |
|
8 |
%ChartColor_Orange |
Orange |
|
9 |
%ChartColor_Pink |
Pink |
|
10 |
%ChartColor_Red |
Red |
|
11 |
%ChartColor_White |
White |
|
12 |
%ChartColor_Yellow |
Yellow |
|
13 |
%ChartColor_Red_Orange |
Red-orange |
|
14 |
%ChartColor_Yellow_Green |
Yellow-green |
|
15 |
%ChartColor_Blue_Violet |
Blue-violet |
|
16 |
%ChartColor_Purple |
Purple |
|
17 |
%ChartColor_Yellow_Orange |
Yellow-orange |
This property is read/write.
Example
In the following example, the colors red, yellow, and green are specified by numeric value rather than by constant:
&Colors = CreateArray(10, 12, 5);
&oThr1.Colors = &Colors;
Related Topics