SeriesDefaultsLabelsComponent
The configuration of the Chart series label.
Selector
kendo-chart-series-defaults-labels
Inputs
Name | Type | Default | Description |
---|---|---|---|
background |
|
The background color of the labels. Accepts a valid CSS color string, including HEX and RGB. | |
border |
|
The border of the labels. | |
color |
|
The text color of the labels. Accepts a valid CSS color string, including HEX and RGB. | |
content |
|
The function which returns the Chart series labels content.
You can split the text into multiple lines by using line feed characters ( | |
font |
|
|
The font style of the labels. |
format |
|
|
The format of the labels. Uses the |
from |
|
The Chart series | |
margin |
|
|
The margin of the labels. A numeric value sets all margins. |
padding |
|
|
The padding of the labels. A numeric value sets all paddings. |
to |
|
The Chart series | |
visible |
|
|
If set to |
visual |
|
A function that can be used to create a custom visual for the labels. |
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
| ||||||
|