ColorRange (Object)

Member of:

ColorRanges (Collection)

Description:

Returns or sets the color for the numeric range used in the gauge. By default the new color range object has a transparent color in the numeric range to which it has been assigned.

Note:

To use the minimum and maximum values used by the numeric range, do not define values for the ColorRange (Object) Max (Property) or Min (Property).

Example:

This example shows how to add the color range, specify a color range from 0 to 50 and add the tool tip: “Amount Sales.

Speedometer.ColorRanges[1].Color = "16711680"
Speedometer.ColorRanges[1].Max = "50"
Speedometer.ColorRanges[1].Min = "0"
Speedometer.ColorRanges[1].Tooltips = "Amount Sales"

Methods:

RemoveRange()

Properties:

Read-write: Property Color as Number (use BqColorType), Property Max as Number, Property Min as Number, Property Tooltip as String