Configuration commonNeedleSettings

An object defining the configuration options that are common for all gauge needles.

Type: Object

Use this object's properties to set options for all gauge needles at once. In case you have to set an individual value for a common option, use the corresponding needle object within the needles array. The values that are set individually override corresponding common values.

color

Specifies the color of a needle.

Type: String
Default Value: '#C2C2C2'

This option supports the following colors.

  • Hexadecimal colors
  • RGB colors
  • RGBA colors (not supported in Internet Explorer 8)
  • Predefined/Cross-browser color names
  • Predefined SVG colors (not supported in Internet Explorer 8)

length

Specifies, in pixels, the cross-scale size of the dxLinearGauge's needle.

Type: Number
Default Value: 15

offset

Specifies the offset of a needle from an invisible scale line in pixels.

Type: Number
Default Value: 2.5

The offset property specifies the indent of the needle's center point from an invisible scale line.

type

Specifies the needle type for the dxLinearGauge widget.

Type: String
Default Value: 'rhombus'
Accepted Values: 'rectangle' | 'circle' | 'rhombus'

Needle types for the dxLinearGauge widget:

Needle Type Properties
'rectangle' offset, length, width, color
'circle' offset, length, color
'rhombus' offset, length, width, color

width

Specifies the size of a needle along a scale in pixels.

Type: Number
Default Value: 15