Vue Chart - commonAxisSettings.constantLineStyle.label

Configures constant line labels.

Type:

Object

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

DevExtreme HTML5 Charts ConstantLine ConstantLineLabel

The commonAxisSettings.constantLineStyle.label object, which is described here, specifies common settings for all constant line labels in the chart. To configure the labels of those constant lines that belong to a particular axis, use the following objects.

  • argumentAxis.constantLineStyle.label
  • valueAxis.constantLineStyle.label

To configure the labels of individual constant lines use the following objects.

  • argumentAxis.constantLines[].label
  • valueAxis.constantLines[].label

Individual settings override axis-specific settings which, in their turn, override common settings.

font

Specifies font properties for constant line labels.

Type:

Object

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 property to "outside".

Use the RelativePosition enum to specify this property when the UI component is used as an ASP.NET MVC 5 Control or a DevExtreme-Based ASP.NET Core Control. This enum accepts the following values: Inside and Outside.

visible

Makes constant line labels visible.

Type:

Boolean

Default Value: true