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 Studio is a software development environment that empowers developers to design, build and deploy Blazor applications without the traditional hurdles. Write less code and get more done.
Radzen Blazor Components, © 2018-2024 Radzen.
Source Code licensed under
MIT