Rotate chart axis labels automatically or with predefined angles to prevent overlap.
These demos showcase chart axis label rotation with automatic rotation using LabelAutoRotation property to prevent label overlap based on available space, and predefined rotation angles using LabelRotation property for consistent label orientation.
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°
Radzen Blazor Components, © 2018-2025 Radzen.
Source Code licensed under
MIT