label

Specifies the appearance of the labels of those constant lines that belong to the argument axis.

Type:

Object

A constant line label displays the value of a constant line.

DevExtreme HTML5 Charts ConstantLine ConstantLineLabel

See Also
  • argumentAxis | constantLines[] | label - configures the labels of individual constant lines. Overrides the options of the argumentAxis | constantLineStyle | label object, which is described here.
  • commonAxisSettings | constantLineStyle | label - specifies the appearance of all constant line labels.

font

Specifies font options for constant line labels.

Type:

Object

horizontalAlignment

Aligns constant line labels in the horizontal direction.

Type:

String

Default Value: 'right'
Accepted Values: 'right' | 'center' | 'left'

position

Specifies the position of constant line labels on the chart plot.

Type:

String

Default Value: 'inside'
Accepted Values: 'inside' | 'outside'

By default, constant line labels are displayed inside the chart plot near the constant lines they belong to. To place the labels outside the chart plot, set the position option to "outside".

verticalAlignment

Aligns constant line labels in the vertical direction.

Type:

String

Default Value: 'top'
Accepted Values: 'top' | 'center' | 'bottom'

visible

Makes constant line labels visible.

Type:

Boolean

Default Value: true