label

An object defining constant line label options.

Type:

Object

A constant line label shows information on the constant line. Use the label object to configure all the constant line labels simultaneously. Within this object you can set font options, a position and text using corresponding fields.

To specify styles for the constant line labels of the argument and value axis separately, use the argumentAxis | constantLineStyle | label or valueAxis | constantLineStyle | label configuration object correspondingly. Note that the options that are set within these objects override the corresponding options that are set within the commonAxisSettings | constantLineStyle | label object.

In addition, you can define the appearance of each constant line label individually. For more information, refer to the argumentAxis | constantLines | label or valueAxis | constantLines | label object description.

font

Specifies font options for a constant line label.

Type:

Object

position

Specifies the position of the constant line label relative to the chart plot.

Type:

String

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

By default, a constant line label is displayed inside the chart plot near the constant line it belongs to. You can place the label outside the plot by setting the position option to 'outside'.

visible

Indicates whether or not to display labels for the axis constant lines.

Type:

Boolean

Default Value: true