Navigator.categoryAxis.labels
configurationThe axis labels configuration.
The background color of the labels. Accepts a valid CSS color string, including hex and rgb.
The border of the labels.
The text color of the labels. Accepts a valid CSS color string, including hex and rgb.
The culture to use when formatting date values. See the globalization overview for more information.
The format used to display the labels when the categories are dates. Uses kendo.format. Contains one placeholder ("{0}") which represents the category value.
The chart will choose the appropriate format for the current categoryAxis.baseUnit. Setting the categoryAxis.labels.format option will override the date formats.
The font style of the labels.
Default: "12px Arial,Helvetica,sans-serif"
The format used to display the labels. Uses kendo.format. Contains one placeholder ("{0}") which represents the category value.
Default: "{0}"
navigator.categoryAxis.labels.margin
Number|ObjectThe margin of the labels. A numeric value will set all margins.
Default: 0
If set to true the chart will mirror the axis labels and ticks. If the labels are normally on the left side of the axis, mirroring the axis will render them to the right.
Default: false
navigator.categoryAxis.labels.padding
Object|NumberThe padding of the labels. A numeric value will set all paddings.
Default: 0
The rotation angle of the labels. By default the labels are not rotated.
Default: 0
The number of labels to skip. By default no labels are skipped.
Default: 0
The label rendering step - render every n-th label. By default every label is rendered.
Default: 1
navigator.categoryAxis.labels.template
String|FunctionThe template which renders the labels.
The fields which can be used in the template are:
- value - the category value
- dataItem - the data item for the category
- format - the default format of the label
- culture - the default culture (if set) on the label
- index - the 0-based index of the current label
- count - the total number of labels on the axis
If set to true the chart will display the category axis labels. By default the category axis labels are visible.
Default: true