Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yAxes scale label rotation #5513

Open
OlegFromOmsk opened this issue May 24, 2018 · 6 comments
Open

yAxes scale label rotation #5513

OlegFromOmsk opened this issue May 24, 2018 · 6 comments

Comments

@OlegFromOmsk
Copy link

Hello
I'd like to change yAxes label orientation and rotate it in 180deg.
How I can do it?
Thanks.

@Ardweaden
Copy link

Ardweaden commented May 25, 2018

I didn't find anything else other than commenting out the line rotation = isLeft ? -0.5 * Math.PI : 0.5 * Math.PI; in the source code. Now the label is horizontal as I wanted it. I assume you would have to replace the line with rotation = isLeft ? - Math.PI : Math.PI; to get your desired effect.

@OlegFromOmsk
Copy link
Author

OlegFromOmsk commented May 28, 2018

Thanks a lot,
but rotation = -0.5 * Math.PI much better for me

@simonbrunel
Copy link
Member

@etimberg is there any rotation option for scale labels? if not, should we consider a new feature?

@etimberg
Copy link
Member

etimberg commented Jun 7, 2018

There are minRotation and maxRotation fields for the x axes but nothing for y axes

@sdzhurova
Copy link

@etimberg is there a rotation option for x axes labels but different for every label.

Example: If you want to visualize the direction of the wind with an arrow icon.
The arrow I managed to do using fontIcons but cannot figure out how to rotate with a different degree the labels.

winddirection

@yomajo
Copy link

yomajo commented Aug 28, 2023

Current Implementation forces user rotate his/her head TWO TIMES in order to read axis labels on LHS and RHS. This is chart porn in engineering drawings.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants