CategoryAxisLabelsComponent
The configuration of the axis labels (see example).
Selector
kendo-chart-category-axis-item-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 label content.
You can split the text into multiple lines by using the line feed characters ( | |
culture |
|
The culture to use when formatting date values. The specified culture must be loaded as demonstrated in the Internationalization Overview. | |
dateFormats |
|
The format for displaying the labels of the date category axis.
The For Radar Charts, the feature is not supported. Use | |
font |
|
|
The font style of the labels. |
format |
|
|
The format for displaying the labels. Uses the |
margin |
|
|
The margin of the labels. A numeric value sets all margins. |
mirror |
|
|
If set to |
padding |
|
|
The padding of the labels. A numeric value sets all paddings. |
position |
|
|
The position of the axis labels. By default, labels are positioned next to the axis.
When |
rotation |
|
|
The rotation angle of the labels. By default, the labels are not rotated.
If the axis is horizontal, can be set to |
skip |
|
|
The number of labels to skip. By default, no labels are skipped. |
step |
|
|
The rendering step of the label—renders every nth label. By default, every label is rendered. |
visible |
|
|
If set to |
visual |
|
A function for creating 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
| ||||||
|