Allows to configure the data label with different settings such as name, fill color, opacity, rotation angle, border, marging, etc in the chart.
Allows to set the alignment for data Label. They are,
Defaults to ‘Center’
number
Allows to specify the rotation angle to data label.
Defaults to 0
PivotChartBorderModel
Allows option for customizing the border lines.
boolean
Allows to set whether rotation to data label is enable or not.
Defaults to false
string
Allows to set the background color of the data label accepts value in hex and rgba as a valid CSS color string.
Defaults to ‘transparent’
PivotChartFontModel
Allows option for customizing the data label text.
PivotChartMarginModel
Allows customize the margin to the data label.
string
Allows to set the data source field that contains the data label value.
Defaults to null
number
Allows to set the opacity to the background.
Defaults to 1
Allows to specify the position of the data label. They are,
Defaults to ‘Auto’
number
Allows to set the roundedCornerX for the data label. It requires border
values not to be null.
Defaults to 5
number
Allows to set the roundedCornerY for the data label. It requires border
values not to be null.
Defaults to 5
string
Allows 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
Allows to set the visibility of data label to the series renders.
Defaults to false