New to Kendo UI for AngularStart a free 30-day trial

AxisDefaultsLabels

Specifies the configuration options for the axis label (see example).

NameTypeDefaultDescription

content?

(e: AxisLabelContentArgs) => string

Specifies the function which returns the label content. Use line feed characters ("\n") to split the text into multiple lines.

font?

string

Specifies the font style of the labels.

format?

string

Specifies the format for displaying the labels. Uses the format method of IntlService. Contains one placeholder ("{0}") which represents the category value.

margin?

number | Margin

Specifies the margin of the labels. A numeric value sets all margins.

mirror?

boolean

Determines whether the Chart mirrors the axis labels and ticks. When enabled, labels that are normally on the left side of the axis render on the right.

padding?

number | Padding

Specifies the padding of the labels. A numeric value sets all paddings.

rotation?

number | "auto" | LabelRotation

Specifies the rotation angle of the labels. By default, the labels are not rotated. For horizontal axes, set to "auto" to rotate labels only when the slot size is insufficient for the entire labels.

skip?

number

Specifies the number of labels to skip. By default, no labels are skipped.

step?

number

Specifies the label-rendering step—renders every nth label. By default, every label is rendered.

visible?

boolean

Determines whether the Chart displays the axis labels. By default, the axis labels are visible.

visual?

(e: AxisLabelVisualArgs) => Element

Specifies a function for creating a custom visual for the labels.

Not finding the help you need?
Contact Support