The 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 color of the border. Accepts a valid CSS color string, including hex and rgb.

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

The width of the border in pixels. By default the border width is set to zero which means that the border will not appear.

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 format used when categoryAxis.baseUnit is set to "days".

The format used when categoryAxis.baseUnit is set to "hours".

The format used when categoryAxis.baseUnit is set to "months".

The format used when categoryAxis.baseUnit is set to "weeks".

The format used when categoryAxis.baseUnit is set to "years".

The font style of the labels.

The format used to display the labels. Uses kendo.format. Contains one placeholder ("{0}") which represents the category value.

The margin of the labels. A numeric value will set all margins.

The bottom margin of the labels.

The left margin of the labels.

The right margin of the labels.

The top margin of the labels.

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.

The padding of the labels. A numeric value will set all paddings.

The bottom padding of the labels.

The left padding of the labels.

The right padding of the labels.

The top padding of the labels.

The rotation angle of the labels. By default the labels are not rotated.

The number of labels to skip. By default no labels are skipped.

The label rendering step - render every n-th label. By default every label is rendered.

The template which renders the labels.

The fields which can be used in the template are:

  • value - the category value

If set to true the chart will display the category axis labels. By default the category axis labels are visible.

In this article