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

PaneDefaultsTitleComponent

The configuration of the pane default title.

Selector

kendo-chart-pane-defaults-title

Inputs

NameTypeDefaultDescription

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

'16px sans-serif'

The font style of the title.

margin

number | Margin

5

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

position

"center" | "left" | "right"

'center'

The position of the title.

The positioning of the axis title can be set to left for left positioning, right for right positioning (both applicable to the horizontal axis), or center for positioning in the center.

visible

boolean

true

If set to true, the Chart displays the pane title.

visual

(e: any) => Element

A function that can be used to create a custom visual for the title.

Methods

notifyChanges

Updates the component fields with the specified values and refreshes the Chart.

Use this method when the configuration values cannot be set through the template.

item.notifyChanges({ visible: true });
Parameters

changes

any

An object containing the updated input fields.

In this article

Not finding the help you need?