commonMarkerSettings

An object that defines common configuration options for gauge markers.

Type: Object

Use this object's properties to set options for all gauge markers at once. If you need to set an individual value for a common option, use the corresponding marker object within the markers array. Values that are set individually override their corresponding common values.

arrowLength

Specifies, in pixels, the arrow length of the 'textCloud' marker.

Type: Number
Default Value: 5

color

Specifies the color of a marker.

Type: String
Default Value: '#679EC5'

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)

horizontalOrientation

Specifies the marker's orientation relative to an invisible scale line in the vertically oriented LinearGauge widget.

Type: String
Default Value: 'left'
Accepted Values: 'left' | 'right'

When setting up a marker, apply the required orientation first to check that the result responds to your needs. Then, set the required offset from the invisible scale line to shift the marker.

length

Specifies the cross-scale size of the 'triangle' marker in pixels.

Type: Number
Default Value: 14

offset

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

Type: Number
Default Value: -1

When setting the dxLinearGauge widget’s offset property to a custom value, consider setting the horizontalOrientation/verticalOrientation property as well.

text

Specifies font and formatting options for text displayed in 'textCloud' markers.

Type: Object

type

Specifies the marker type for CircularGauge and LinearGauge widgets.

Type: String
Default Value: 'textcloud'
Accepted Values: 'triangle' | 'textcloud'

Both the CircularGauge and LinearGauge widgets can use the 'triangle' or 'textCloud' marker types. The 'triangle' marker points to a value on the scale only. The 'textCloud' marker points to a value and displays this value.

Marker types for the CircularGauge widget:

Marker Type Properties
'triangle' offset, color, length, width
'textCloud' offset, arrowLength, color, text

Marker types for the LinearGauge widget:

Marker Type Properties
'triangle' offset, color, length, width, verticalOrientation, horizontalOrientation
'textCloud' offset, arrowLength, color, text, verticalOrientation, horizontalOrientation

verticalOrientation

Specifies the marker's orientation relative to an invisible scale line in the horizontally oriented LinearGauge widget.

Type: String
Default Value: 'top'
Accepted Values: 'top' | 'bottom'

When setting up a marker, apply the required orientation first to check that the result responds to your needs. Then, set the required offset from the invisible scale line to shift the marker.

width

Specifies, in pixels, the 'triangle' marker's size along the scale .

Type: Number
Default Value: 13