SubtitleComponent
The configuration options of the Chart subtitle or text (see example).
<kendo-chart [categoryAxis]="{ categories: categories }">
<kendo-chart-subtitle text="/GDP annual %/"></kendo-chart-subtitle>
</kendo-chart>
Selector
kendo-chart-subtitle
Inputs
Name | Type | Default | Description |
---|---|---|---|
align |
|
The alignment of the subtitle. By default, the subtitle has the same alignment as the title. The alignment options for subtitle include | |
background |
|
|
The background color of the subtitle. Accepts a valid CSS color string, including HEX and RGB. |
border |
|
The border of the subtitle. | |
color |
|
The text color of the subtitle. Accepts a valid CSS color string, including HEX and RGB. | |
font |
|
|
The font of the subtitle. |
margin |
|
The margin of the subtitle. A numeric value sets all margins. | |
padding |
|
|
The padding of the subtitle. A numeric value sets all paddings. |
position |
|
|
The position of the subtitle. |
text |
|
The text of the chart subtitle. 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
| ||||||
|