navigator.categoryAxis.labels Object
The axis labels configuration.
navigator.categoryAxis.labels.background String
The background color of the labels. Accepts a valid CSS color string, including hex and rgb.
navigator.categoryAxis.labels.border Object
The border of the labels.
navigator.categoryAxis.labels.border.color String
(default: "black")
The color of the border. Accepts a valid CSS color string, including hex and rgb.
navigator.categoryAxis.labels.border.dashType String
(default: "solid")
The dash type of the border.
The following dash types are supported:
- "dash" - a line consisting of dashes
- "dashDot" - a line consisting of a repeating pattern of dash-dot
- "dot" - a line consisting of dots
- "longDash" - a line consisting of a repeating pattern of long-dash
- "longDashDot" - a line consisting of a repeating pattern of long-dash-dot
- "longDashDotDot" - a line consisting of a repeating pattern of long-dash-dot-dot
- "solid" - a solid line
navigator.categoryAxis.labels.border.width Number
(default: 0)
The width of the border in pixels. By default the border width is set to zero which means that the border will not appear.
navigator.categoryAxis.labels.color String
The text color of the labels. Accepts a valid CSS color string, including hex and rgb.
navigator.categoryAxis.labels.culture String
The culture to use when formatting date values. See the globalization overview for more information.
navigator.categoryAxis.labels.dateFormats Object
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.
navigator.categoryAxis.labels.dateFormats.days String
(default: "M/d")
The format used when categoryAxis.baseUnit is set to "days".
navigator.categoryAxis.labels.dateFormats.hours String
(default: "HH:mm")
The format used when categoryAxis.baseUnit is set to "hours".
navigator.categoryAxis.labels.dateFormats.months String
(default: "MMM 'yy")
The format used when categoryAxis.baseUnit is set to "months".
navigator.categoryAxis.labels.dateFormats.weeks String
(default: "M/d")
The format used when categoryAxis.baseUnit is set to "weeks".
navigator.categoryAxis.labels.dateFormats.years String
(default: "yyyy")
The format used when categoryAxis.baseUnit is set to "years".
navigator.categoryAxis.labels.font String
(default: "12px Arial,Helvetica,sans-serif")
The font style of the labels.
navigator.categoryAxis.labels.format String
(default: "{0}")
The format used to display the labels. Uses kendo.format. Contains one placeholder ("{0}") which represents the category value.
navigator.categoryAxis.labels.margin Number|Object
(default: 0)
The margin of the labels. A numeric value will set all margins.
navigator.categoryAxis.labels.margin.bottom Number
(default: 0)
The bottom margin of the labels.
navigator.categoryAxis.labels.margin.left Number
(default: 0)
The left margin of the labels.
navigator.categoryAxis.labels.margin.right Number
(default: 0)
The right margin of the labels.
navigator.categoryAxis.labels.margin.top Number
(default: 0)
The top margin of the labels.
navigator.categoryAxis.labels.mirror Boolean
(default: false)
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.
navigator.categoryAxis.labels.padding Object|Number
(default: 0)
The padding of the labels. A numeric value will set all paddings.
navigator.categoryAxis.labels.padding.bottom Number
(default: 0)
The bottom padding of the labels.
navigator.categoryAxis.labels.padding.left Number
(default: 0)
The left padding of the labels.
navigator.categoryAxis.labels.padding.right Number
(default: 0)
The right padding of the labels.
navigator.categoryAxis.labels.padding.top Number
(default: 0)
The top padding of the labels.
navigator.categoryAxis.labels.rotation Number
(default: 0)
The rotation angle of the labels. By default the labels are not rotated.
navigator.categoryAxis.labels.skip Number
(default: 0)
The number of labels to skip. By default no labels are skipped.
navigator.categoryAxis.labels.step Number
(default: 1)
The label rendering step - render every n-th label. By default every label is rendered.
navigator.categoryAxis.labels.template String|Function
The 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
navigator.categoryAxis.labels.visible Boolean
(default: true)
If set to true
the chart will display the category axis labels. By default the category axis labels are visible.