Values property: Threshold class
Description
Use this property to specify the values as an Array of Number. Since the values mark the boundaries between the colors in the threshold, the number of entries in the Values array should be one less than the number of colors in the Colors array.
This property is read/write.
Example
In this example, the number items in the Values array is one less than the number items in the Colors array:
&Values = CreateArray(30, 75);
&Colors = CreateArray(%ChartColor_Red, %ChartColor_Yellow, %ChartColor_Green);
&Descr = CreateArray("Low", "Med", "High");
&oThr1.Values = &Values;
&oThr1.Colors = &Colors;
&oThr1.Descriptions = &Descr;
Related Topics