CategoryAxis.title
configurationThe title configuration of the category axis.
The categoryAxis.title.text option must be set in order to display the title.
categoryAxis.title
ObjectThe background color of the title. Accepts a valid CSS color string, including hex and rgb.
The border of the title.
categoryAxis.title.color
StringThe text color of the title. Accepts a valid CSS color string, including hex and rgb.
categoryAxis.title.font
StringThe font style of the title.
Default: "16px Arial,Helvetica,sans-serif"
categoryAxis.title.margin
Number|ObjectThe margin of the title. A numeric value will set all margins.
Default: 5
categoryAxis.title.padding
Number|ObjectThe padding of the title. A numeric value will set all paddings.
Default: 0
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
Default: "center"
The rotation angle of the title. By default the title is not rotated.
Default: 0
categoryAxis.title.text
StringThe text of the title.
The text can be split into multiple lines by using line feed characters ("\n").
categoryAxis.title.visible
BooleanIf set to true the chart will display the category axis title. By default the category axis title is visible.
Default: true
categoryAxis.title.visual
FunctionA 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.Rectthat 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.