CategoryAxisLabelFit Enum

Specifies how RadzenCategoryAxis fits category labels that do not fit the available space. Set via LabelFit.

Namespace: Radzen.Blazor

Assembly: Radzen.Blazor.dll

Syntax

public enum CategoryAxisLabelFit

Fields

Name Description
Auto Labels that fit are displayed unchanged. On a horizontal axis, when a label does not fit, labels are first skipped at the regular interval that rotated labels need. The displayed labels stay horizontal when they fit that interval; otherwise they are rotated by -45 degrees (or by LabelAutoRotation when set), skipped so the rotated ones do not overlap, and labels longer than a third of the chart height or than the room between their tick and the edge of the chart are shortened after their last whole word that fits, with an ellipsis. LabelRotation rotates the labels by its angle even when they fit, and they are skipped and shortened the same way. On a vertical axis (horizontal bar charts) the labels take at most a third of the chart width unless the axis sets Width, and longer labels are shortened with an ellipsis. A shortened label displays its full text on hover. This is the default.
None Labels are displayed in full and are not skipped, even when they overlap; they are rotated only as LabelRotation and LabelAutoRotation specify.
In This Article
An error has occurred. This app may no longer respond until reloaded. Reload 🗙