Configures the data label in the series.
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.
string
Used to format the point data label that accepts any global string format like ‘C’, ‘n1’, ‘P’ etc. It also accepts placeholder like ‘{value}°C’ in which value represent the point data label, e.g, 20°C.
Defaults to null
Show Datalabel Even two Data Labels Are Overflow.
Defaults to ‘Hide’
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
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
boolean
If set true, data label for zero values in series renders.
Defaults to true
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