axisDefaults.title Object

The title configuration of the axis.

The axisDefaults.title.text option must be set in order to display the title.

axisDefaults.title.background String

The background color of the title. Accepts a valid CSS color string, including hex and rgb.

axisDefaults.title.border Object

The border of the title.

axisDefaults.title.border.color String (default: "black")

The color of the border. Accepts a valid CSS color string, including hex and rgb.

axisDefaults.title.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

axisDefaults.title.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.

axisDefaults.title.color String

The text color of the title. Accepts a valid CSS color string, including hex and rgb.

axisDefaults.title.font String (default: "16px Arial,Helvetica,sans-serif")

The font style of the title.

axisDefaults.title.margin Number|Object (default: 5)

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

axisDefaults.title.margin.bottom Number (default: 0)

The bottom margin of the title.

axisDefaults.title.margin.left Number (default: 0)

The left margin of the title.

axisDefaults.title.margin.right Number (default: 0)

The right margin of the title.

axisDefaults.title.margin.top Number (default: 0)

The top margin of the title.

axisDefaults.title.padding Number|Object (default: 0)

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

axisDefaults.title.padding.bottom Number (default: 0)

The bottom padding of the title.

axisDefaults.title.padding.left Number (default: 0)

The left padding of the title.

axisDefaults.title.padding.right Number (default: 0)

The right padding of the title.

axisDefaults.title.padding.top Number (default: 0)

The top padding of the title.

axisDefaults.title.position String (default: "center")

The position of the title.

The supported values are:

  • "top" - the axis title is positioned on the top (applicable to vertical axis)
  • "bottom" - the axis title is positioned on the bottom (applicable to vertical axis)
  • "left" - the axis title is positioned on the left (applicable to horizontal axis)
  • "right" - the axis title is positioned on the right (applicable to horizontal axis)
  • "center" - the axis title is positioned in the center

axisDefaults.title.rotation Number (default: 0)

The rotation angle of the title. By default the title is not rotated.

axisDefaults.title.text String

The text of the title.

The text can be split into multiple lines by using line feed characters ("\n").

axisDefaults.title.visible Boolean (default: true)

If set to true the chart will display the axis title. By default the axis title is visible.

axisDefaults.title.visual Function

A function that can be used to create a custom visual for the title. The available argument fields are:

  • text - the label text.
  • rect - the kendo.geometry.Rect that defines where the visual should be rendered.
  • sender - the chart instance (may be undefined).
  • options - the label options.
  • createVisual - a function that can be used to get the default visual.
In this article