ChartSeriesLabelsProps
Represents the props of the KendoReact ChartSeriesLabels component (see example).
Name | Type | Default | Description |
---|---|---|---|
align? |
| The alignment of the label when The supported values for
The supported values for
| |
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. | |
distance? |
| The distance between the labels when | |
font? |
| The font style of the labels. | |
format? |
| The format of the labels. Uses the format`]slug:api_intl_intlservice#toc-format method of IntlService. | |
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. | |
to? |
| The | |
visible? |
| If set to |
Methods
content | ||||||
---|---|---|---|---|---|---|
The function which returns the Chart series label content. You can split the text into multiple lines by using line feed characters ( The fields available in the function argument are:
| ||||||
| ||||||
|
visual | ||||||
---|---|---|---|---|---|---|
A function that can be used to create a custom visual for the labels. The available argument fields are:
| ||||||
| ||||||
|