SubtitleComponent
Represents the Kendo UI for Angular Chart Subtitle component (see example).
Definition
Package:@progress/kendo-angular-charts
Selector:kendo-chart-subtitle
Syntax:
<kendo-chart [categoryAxis]="{ categories: categories }">
<kendo-chart-subtitle text="/GDP annual %/"></kendo-chart-subtitle>
</kendo-chart>
Inputs
align
"left" | "right" | "center"
Specifies the horizontal alignment of the subtitle.
background
string
Specifies the background color of the subtitle. Accepts a valid CSS color string, including HEX and RGB.
'white'
color
string
Specifies the color of the subtitle text.
font
string
Specifies the font of the subtitle.
'12px sans-serif'
Specifies the padding of the subtitle. A numeric value sets all paddings.
5
position
"top" | "bottom"
Specifies the position of the subtitle.
'top'
text
string
Specifies the text content of the subtitle.
visible
boolean
Determines whether the Chart displays the subtitle.
true
Methods
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.
An object containing the updated input fields.