New to Kendo UI for AngularStart a free 30-day trial

PanesTitle

Represents the panes.title options.

NameTypeDefaultDescription

background?

string

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

border?

Border

Specifies the border of the title.

color?

string

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

font?

string

Specifies the font style of the title.

margin?

number | Margin

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

position?

"center" | "left" | "right"

Specifies the position of the title.

You can set the positioning to left for left positioning, right for right positioning (both applicable to the horizontal axis), or center for positioning in the center.

text?

string

Specifies the text of the title. You can split the text into multiple lines by using line feed characters ("\n").

visible?

boolean

Determines whether the Chart displays the pane title. When set to true, the title is visible. By default, the pane title is visible.

visual?

(e: any) => Element

Specifies 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 geometry Rect that defines where the visual has to be rendered.
  • sender—The Chart instance (might be undefined).
  • options—The label options.
  • createVisual—A function that can be used to get the default visual.
Not finding the help you need?
Contact Support