ValueAxisLabelsComponent
The axis labels configuration.
Selector
kendo-chart-value-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.
The function argument contains a | |
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 (in degrees) of the labels. By default, the labels are not rotated. Angles
increase clockwise and zero is to the left. Negative values are acceptable. Can be set to |
skip |
|
|
The number of labels to skip. By default, no labels are skipped. |
step |
|
|
The label rendering step.
Every nth label is rendered where |
visible |
|
|
If set to |
visual |
|
A function for creating custom visuals 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
| ||||||
|