TitleComponent
The configuration options of the Chart title or text (see example).
<kendo-chart [categoryAxis]="{ categories: categories }">
<kendo-chart-title text="Title Text" [padding]="{bottom: 20}"></kendo-chart-title>
...
</kendo-chart>
Selector
kendo-chart-title
Inputs
Name | Type | Default | Description |
---|---|---|---|
align |
|
|
The alignment of the title.
The alignment options for text include |
background |
|
|
The background color of the title. Accepts a valid CSS color string, including HEX and RGB. |
border |
|
The border of the title. | |
color |
|
The text color of the title. Accepts a valid CSS color string, including HEX and RGB. | |
description |
|
The accessible description of the Chart. The description is announced by screen readers when the Chart is focused. | |
font |
|
|
The font of the title. |
margin |
|
The margin of the title. A numeric value sets all margins. | |
padding |
|
|
The padding of the title. A numeric value sets all paddings. |
position |
|
|
The position of the title.
The positioning options for titles include |
text |
|
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 |
|
|
If set to |
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. ts
| ||||||
|