Interface for a class AccumulationDataLabelSettings
number
Specifies the rotation angle of the data label.
Configures the appearance of the border lines with options for width and color properties.
Options to customize the connector line in the series.
By default, the connector length for the Pie series is set to ‘4%‘. For other series, it is set to null
.
boolean
If set to true, the data label will be rotated according to the specified angle.
string
The background color of the data label accepts hex and rgba values as valid CSS color strings.
Customizes the appearance of the data label text with options for font size, color, style, weight, and family.
string
Used to format the data label, accepting global string formats like C
, n1
, P
, etc.
It also supports placeholders, such as {value}°C
, where {value}
represent the point data label (e.g., 20°C).
number
Use this property to limit the label width and apply wrapping or trimming.
string
Specifies the data source field that contains the data label value.
Specifies the position of the data label relative to the data point. The available options are:
number
Specifies the X-axis rounded corner radius for the data label.
Note that
border
values must not be null for this feature to work.
number
Specifies the Y-axis rounded corner radius for the data label.
Note that
border
values must not be null for this feature to work.
boolean
If set to true, the data label for zero values in the series will be rendered.
string
| Function
Custom template to format the content of the data label.
Use ${point.x}
and ${point.y}
as placeholders to display the corresponding data point values.
Defines the text overflow behavior for the data label when the text exceeds the bounds. Available options are:
maxWidth
property.Defines the text wrap behavior for the data label when it overflows the bounds. Available options are:
maxWidth
property. boolean
If set to true, data labels for the series are render. By default, it is set to false.