Rotate chart axis labels automatically or with predefined angles to prevent overlap.
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