React Chart - argumentAxis.constantLineStyle.label

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

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 properties of the argumentAxis.constantLineStyle.label object, which is described here.
  • commonAxisSettings.constantLineStyle.label - specifies the appearance of all constant line labels.

font

Specifies font properties for constant line labels.

Type:

Object

horizontalAlignment

Aligns constant line labels in the horizontal direction.

Default Value: 'right'

position

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

Default Value: 'inside'

The component's default behavior is to display constant line labels inside the chart plot. To place the labels outside the chart plot, set position to "outside".

NOTE

When position is "outside", note the following label alignment restrictions:

verticalAlignment

Aligns constant line labels in the vertical direction.

Default Value: 'top'

visible

Makes constant line labels visible.

Type:

Boolean

Default Value: true