SeriesDefaults.labels
configurationConfigures the series data labels.
seriesDefaults.labels
ObjectThe background color of the labels. Any valid CSS color string will work here, including hex and rgb.
The border of the labels.
The text color of the labels. Any valid CSS color string will work here, including hex and rgb.
The font style of the labels. labels
Default: "12px Arial,Helvetica,sans-serif"
The format of the labels.
seriesDefaults.labels.margin
Number|ObjectThe margin of the labels.
Default: 0
seriesDefaults.labels.padding
Number|ObjectThe padding of the labels.
Default: 0
seriesDefaults.labels.template
String | FunctionThe label template. Template variables:
- value- the point value
- category- the category name
- series- the data series
- dataItem- the original data item used to construct the point. Will be null if binding to array.
The visibility of the labels.
Default: false