New to Kendo UI for Angular? Start a free 30-day trial

Title

The configuration options of the title (see example).

NameTypeDefaultDescription

align?

"left" | "right" | "center"

The alignment of the title. The alignment options for text include center for middle alignment, left for left alignment, and right for right alignment, allowing for flexible positioning of the title.

background?

string

The background color of the title. Accepts a valid CSS color string, including HEX and RGB.

border?

Border

The border of the title.

color?

string

The text color of the title. Accepts a valid CSS color string, including HEX and RGB.

description?

string

The accessible description of the Chart.

The description is announced by screen readers when the Chart is focused.

font?

string

The font of the title.

margin?

number | Margin

The margin of the title. A numeric value sets all margins.

padding?

number | Padding

The padding of the title. A numeric value sets all margins.

position?

"top" | "bottom"

The position of the title. The positioning options for titles include bottom for positioning at the bottom and top for positioning at the top, providing flexibility in title placement.

text?

string

The text of the chart title. You can also set the text directly for a title with default options. You can split the text into multiple lines by using the line feed characters ("\n").

visible?

boolean

If set to true, the Chart displays the title. By default, the title is displayed.