Legend.labels
configurationConfigures the legend labels.
legend.labels
Objectlegend.labels.color
StringThe color of the labels. Any valid CSS color string will work here, including hex and rgb.
Default: "black"
legend.labels.font
StringThe font style of the labels.
Default: "12px Arial,Helvetica,sans-serif"
legend.labels.template
StringThe template which renders the labels.
The fields which can be used in the template are:
- text - the text the legend item.
- series - the data series.
- value - the point value. (only for donut and pie charts)
- percentage - the point value represented as a percentage value. Available only for 100% stacked charts.
- dataItem - the original data item used to construct the point.