- Home
- Forum
- JavaScript - EJ 2
- X-Axis text labels rotated 90 cant get size right
X-Axis text labels rotated 90 cant get size right
Hi team,
Please take a look at the X axis, I guess it has to scale and shrink itself before doing the rotation.

I expect a result like this, which still displays the full number of records.

Please let me know the solution for this.
My code

Thank team.
SIGN IN To post a reply.
6 Replies
GI
Gin
July 6, 2018 09:37 AM UTC
Use labelIntersectAction: "Rotate90" instead of labelRotation: 90 is working fine :D
Thank team
GI
Gin
July 6, 2018 09:50 AM UTC
But something it's not working
BP
Baby Palanidurai
Syncfusion Team
July 9, 2018 11:38 AM UTC
Hi Nguyen,
We can reproduce the reported scenario at our end. By default labelIntersetAction is “trim”. So that’s why, when labels intersect with each other, it get trimmed, even if you are using labelRotation. We suggest you to set labelIntersectAction to None and then use labelRotation as of now and also we have logged a bug report for “When label rotation is 90, primary x axis labels are not properly placed”, we will fix this issue and the fix will be included in the next patch release which is expected on 17 July, 2018.
Sample Link : https://stackblitz.com/edit/js-b1zbdl?file=index.js
Please let us know if you need any further assistance on this.
Thanks,
Baby.
BP
Baby Palanidurai
Syncfusion Team
July 17, 2018 01:14 PM UTC
Hi Nguyen,
We are glad to announce that our v16.2.45 patch release is rolled out, we have added the fix for “When label rotation is 90, primary x axis labels are not properly rendered” issue and is available for download under the following link.
Npm Packages: https://www.npmjs.com/~syncfusionorg
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.
Thanks,
Baby.
GI
Gin
July 17, 2018 01:50 PM UTC
WOW, good news.
Thank team for getting this done.
P:/s: What Synfusion is providing to the community are very meaningful, I think others could benefit from it. Keep doing it.
BP
Baby Palanidurai
Syncfusion Team
July 18, 2018 06:01 AM UTC
Hi Nguyen,
Thanks for your update,
We are glad to accept this appreciation, and sure will continue to do so.
Please let us know if you need any further assistance on this.
Thanks,
Baby.
SIGN IN To post a reply.
- 6 Replies
- 2 Participants
-
GI Gin
- Jul 6, 2018 09:18 AM UTC
- Jul 18, 2018 06:01 AM UTC