SeriesDefaultsLabelsComponent
Represents the configuration of the Chart series labels.
Definition
Package:@progress/kendo-angular-charts
Selector:kendo-chart-series-defaults-labels
Syntax:
<kendo-chart>
<kendo-chart-series-defaults>
<kendo-chart-series-defaults-labels format="c">
</kendo-chart-series-defaults-labels>
</kendo-chart-series-defaults>
</kendo-chart>
Inputs
background
string
Specifies the background color of the labels.
color
string
Specifies the text color of the labels.
Specifies a function that returns the content of the labels.
font
string
Specifies the font style of the labels.
'12px sans-serif'
format
string
Specifies the format of the labels. Uses the format method of IntlService.
'{0}'
Specifies the from labels configuration.
Specifies the margin of the labels. A numeric value sets all margins.
0
Specifies the padding of the labels. A numeric value sets all paddings.
0
Specifies the to labels configuration.
visible
boolean
Determines whether the Chart displays the series labels.
false
Specifies a function that creates a custom visual for the labels.
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.