SeriesLabelsComponent
The configuration of the Chart series label (see example).
Selector
kendo-chart-series-item-labels
Inputs
Name | Type | Default | Description |
---|---|---|---|
align |
|
The alignment of the label when | |
ariaContent |
|
The function which returns the content for the ARIA label for the series labels. | |
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 label content.
You can split the text into multiple lines by using line feed characters ( | |
distance |
|
|
The distance between the labels when |
font |
|
|
The font style of the labels. |
format |
|
|
The format of the labels. Uses the |
from |
|
The | |
margin |
|
|
The margin of the labels. A numeric value sets all margins. |
padding |
|
|
The padding of the labels. A numeric value sets all paddings. Bar and Column series always apply full padding and ignore this setting. |
position |
|
The position of the labels. | |
rotation |
|
The rotation angle of the labels. By default, the labels are not rotated. | |
to |
|
The | |
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
| ||||||
|