Configures the constant line label.
The constant line label displays the value of the constant line.
The label object specifies the following characteristics of the constant line label.
By default, the constant line label is visible. To hide it, assign false to the visible option.
By default, the constant line label displays the value of the constant line. To assign a custom text to the constant line label, use the text option.
The constant line label can be located inside or outside the chart plot. Use the position option to change this setting.
To align the constant line label in the horizontal and vertical directions, use the horizontalAlignment and verticalAlignment options.
To change the font of the constant line label, use the fields of the font object.
Aligns constant line labels in the horizontal direction.
Specifies the position of constant line labels on the chart plot.
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".
RelativePosition enum to specify this option when the widget is used as an ASP.NET MVC 5 Control or a DevExtreme-Based ASP.NET Core Control. This enum accepts the following values:
Specifies the text of a constant line label. By default, equals to the value of the constant line.
Aligns constant line labels in the vertical direction.
Makes constant line labels visible.