CategoryAxisLabelsComponent
Represents the labels configuration for the category axis of the Chart (see example).
Selector
kendo-chart-category-axis-item-labels
Inputs
Name | Type | Default | Description |
---|---|---|---|
background |
|
Specifies the background color of the labels. | |
border |
|
Specifies the border configuration of the labels. | |
color |
|
Sets the text color of the labels. | |
content |
|
Specifies a function that creates the content of the label. | |
culture |
|
Defines the culture info used for formatting the dates. | |
dateFormats |
|
Specifies the format for different date parts. | |
font |
|
|
Specifies the font style of the labels. |
format |
|
|
Specifies the format for displaying the labels. Uses the |
margin |
|
|
Specifies the margin of the labels. A numeric value sets all margins. |
mirror |
|
|
Determines whether the Chart mirrors the axis labels and ticks. If the labels are normally on the left side of the axis, the mirroring of the axis renders them to the right. |
padding |
|
|
Specifies the padding of the labels. A numeric value sets all paddings. |
position |
|
|
Specifies the position of the axis labels. By default, the labels are positioned next to the axis. |
rotation |
|
|
Specifies the rotation angle of the labels. By default, the labels are not rotated. If the axis is horizontal, can be set to |
skip |
|
|
Specifies the number of labels to skip. By default, no labels are skipped. |
step |
|
|
Specifies the rendering step of the label—renders every nth label. By default, every label is rendered. |
visible |
|
|
Determines whether the Chart displays the category axis labels. By default, the category axis labels are visible. |
visual |
|
Specifies a function that creates a visual for the label. |
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
| ||||||
|