Navigator.series.labels
configurationConfigures the series data labels.
navigator.series.labels
Objectnavigator.series.labels.ariaTemplate
String | FunctionThe template which renders the ARIA label for the series labels.
The fields which can be used in the template are:
- category - the category name. Available for area, bar, column, bubble, donut, line and pie series.
- dataItem - the original data item used to construct the point. Will be null if binding to array.
- percentage - the point value represented as a percentage value. Available only for 100% stacked charts.
- series - the data series
- value - the point value. Can be a number or object containing each bound field.
The background color of the labels.
The border of the labels.
The text color of the labels.
The font style of the labels.
Default: "12px Arial,Helvetica,sans-serif"
The format of the labels.
navigator.series.labels.margin
Number|ObjectThe margin of the labels.
Default: { left: 5, right: 5}
navigator.series.labels.padding
Number|ObjectThe padding of the labels.
Default: 0
Defines the position of the labels.
"above"
The label is positioned at the top of the marker.
** Applicable for area and line series. **
"center"
The label is positioned at the point center.
** Applicable for column series only. **
"insideEnd"
The label is positioned inside, near the end of the point.
** Applicable for column series only. **
"insideBase"
The label is positioned inside, near the base of the bar.
** Applicable for column series. **
"outsideEnd"
The label is positioned outside, near the end of the bar.
** Applicable for column series only. Not applicable for stacked series. **
"right"
The label is positioned to the right of the marker.
** Applicable for area and line series. **
"below"
The label is positioned at the bottom of the marker.
** Applicable for area and line series. **
"left"
The label is positioned to the left of the marker.
** Applicable for area and line series. **
Default: "above"
navigator.series.labels.template
String | FunctionThe template which renders the chart series label.
The fields which can be used in the template are:
- category - the category name. Available for area, bar, column, bubble, donut, line and pie series.
- dataItem - the original data item used to construct the point. Will be null if binding to array.
- percentage - the point value represented as a percentage value. Available only for 100% stacked charts.
- series - the data series
- value - the point value. Can be a number or object containing each bound field.
The visibility of the labels.
Default: false