When category labels are long or crowded, rotating them keeps the axis readable. The chart can rotate labels automatically or to an angle you set.
The Radzen Blazor Chart component can automatically rotate the labels of the category axis when they overlap.
To enable that set the LabelAutoRotation property: LabelAutoRotation="-45".
Try changing the angle and the width of the chart to see the effect.
-45°
600px
To always rotate the labels of the category axis set the LabelRotation property: LabelRotation="-45".
Try changing the angle and the width of the chart to see the effect.
-45°
Let the chart auto-rotate the labels, or set a fixed rotation angle so long labels tilt instead of colliding.
Radzen Blazor Components, © 2018-2026 Radzen.
Source Code licensed under
MIT
On this page