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

LegendTitle

The configuration options for the Legend title (see example).

NameTypeDefaultDescription

align?

"center" | "left" | "right"

The alignment 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.

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.

text?

string

The text of the title. 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 Legend title. By default, the title is displayed.

visual?

(args: TitleVisualArgs) => Element

A function for creating a custom visual for the title.