axisDefaults.titleObject

The title configuration of the axis.

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

axisDefaults.title.backgroundString

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

axisDefaults.title.borderObject

The border of the title.

axisDefaults.title.border.colorString(default: "black")

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

axisDefaults.title.border.dashTypeString(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.widthNumber(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.colorString

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

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

The font style of the title.

axisDefaults.title.marginNumber|Object(default: 5)

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

axisDefaults.title.margin.bottomNumber(default: 0)

The bottom margin of the title.

axisDefaults.title.margin.leftNumber(default: 0)

The left margin of the title.

axisDefaults.title.margin.rightNumber(default: 0)

The right margin of the title.

axisDefaults.title.margin.topNumber(default: 0)

The top margin of the title.

axisDefaults.title.paddingNumber|Object(default: 0)

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

axisDefaults.title.padding.bottomNumber(default: 0)

The bottom padding of the title.

axisDefaults.title.padding.leftNumber(default: 0)

The left padding of the title.

axisDefaults.title.padding.rightNumber(default: 0)

The right padding of the title.

axisDefaults.title.padding.topNumber(default: 0)

The top padding of the title.

axisDefaults.title.positionString(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.rotationNumber(default: 0)

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

axisDefaults.title.textString

The text of the title.

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

axisDefaults.title.visibleBoolean(default: true)

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

axisDefaults.title.visualFunction

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.