Configures the data label in the series.
string
Specifies the alignment for data Label. They are,
Defaults to ‘Center’
number
Specifies angle for data label.
Defaults to 0
Option for customizing the border lines.
boolean
Enables rotation for data label.
Defaults to false
string
The background color of the data label accepts value in hex and rgba as a valid CSS color string.
Defaults to ‘transparent’
Option for customizing the data label text.
Margin configuration for the data label.
string
The DataSource field that contains the data label value.
Defaults to null
number
The opacity for the background.
Defaults to 1
string
Specifies the position of the data label. They are,
Defaults to ‘Auto’
number
The roundedCornerX for the data label. It requires border
values not to be null.
Defaults to 5
number
The roundedCornerY for the data label. It requires border
values not to be null.
Defaults to 5
string
Custom template to show the data label. Use ${point.x} and ${point.y} as a placeholder text to display the corresponding data point.
Defaults to null
boolean
If set true, data label for series renders.
Defaults to false