Rectangle

An object defining a gauge indicator of the rectangle type.

Type: Object

Value Indicator

Rectangle Gauge Value Indicator DevExtreme

Subvalue Indicator

Rectangle Gauge Subvalue Indicator DevExtreme

color

Specifies a color of the indicator.

Type: String
Default for value indicators: '#C2C2C2'
Default for subvalue indicators: '#8798a5'

length

Specifies the indicator length.

Type: Number
Default Value: 15

offset

Specifies the distance between the indicator and the invisible scale line.

Type: Number
Default for value indicators: 20
Default for subvalue indicators: 6
Default for value and subvalue indicators: 10

palette

Sets the array of colors to be used for coloring subvalue indicators.

Type: Array|String
Default Value: 'Default'
Accepted Values: 'Default' | 'Soft Pastel' | 'Harmony Light' | 'Pastel' | 'Bright' | 'Soft' | 'Ocean' | 'Vintage' | 'Violet'

Use this option to color subvalue indicators. If the number of colors in the specified array is less than the number of subvalue indicators, the colors are repeated, but slightly modified.

If you need to draw all subvalue indicators in one color, specify the subvalueIndicator.color option.

When using the widget as an ASP.NET MVC Control, you can specify this option using the VizPalette enum. This enum accepts the following values: Default, SoftPastel, HarmonyLight, Pastel, Bright, Soft, Ocean, Vintage and Violet.

width

Specifies the width of an indicator in pixels.

Type: Number
Default Value: 15