Syncfusion Blazor Chart Axis Label Rotation - How to do -90 degrees for LabelIntersectAction?
I want to control the X axis label rotation based on label crowding.
Desired behavior
- When labels are not crowded, they should remain horizontal.
- When labels overlap (LabelIntersectAction triggers), I want the labels to rotate -90° (vertical, bottom-to-top, top pointing left).
Current limitation:
- The only built-in option is `LabelIntersectAction.Rotate90`, which rotates labels +90° (top pointing right, vertical but hard to read). I don't want this.
- There is no `LabelIntersectAction.RotateNegative90` which would solve this problem for me perfectly.
- Manually setting `LabelRotation = -90` works, but I want this to happen only when labels are crowded, not always.
Current workaround:
- I'm manually checking the number of chart points and setting `LabelRotation = -90`, but this feels hacky and I don't want to do this.
Minimal Repro:
https://blazorplayground.syncfusion.com/BjhSDECcHuoAckvV
Question
How can I achieve automatic -90° label rotation (bottom-to-top, top pointing left) only when X axis labels are crowded/overlapping, similar to how `LabelIntersectAction.Rotate90` works for +90°?
Please help with a built-in way or a good workaround for this scenario.
Thank you!
Repro code (for future reference):
Hi Ashish,
Thank you for reaching out.
We have analyzed your reported scenario. As of now, we don’t have support to rotate axis labels in -90 degree based on LabelIntersectAction. So, we have considered your requirement as improvement and logged a feature request on “Support for rotating chart axis labels to -90° when overlapping”. Based on other logged tasks priority, we will include this improvement in any of our upcoming release. You can keep track of an improvement from the feedback portal below.
Feedback Link : https://www.syncfusion.com/feedback/70140/support-for-rotating-chart-axis-labels-to-90-when-overlapping
If you have any more specification/precise replication procedure or a scenario to be tested, you can add it as a comment in the portal.
Regards,
Durga Gopalakrishnan.
- 2 Replies
- 2 Participants
-
AK Ashish Khanal
- Sep 17, 2025 07:22 PM UTC
- Sep 18, 2025 10:52 AM UTC