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

Rotating ticks on axes other than bottom(2) #926

Open
Elukej opened this issue Feb 20, 2024 · 1 comment
Open

Rotating ticks on axes other than bottom(2) #926

Elukej opened this issue Feb 20, 2024 · 1 comment
Labels
question Further information is requested

Comments

@Elukej
Copy link

Elukej commented Feb 20, 2024

Hello! Im using your library very successfully for a bussiness project! It's a great library! Kudos for that from me. Now to the question.

I got a request to rotate the plot I made with all of its annotations for 90 degrees, and it almost works by rotating the u-wrap element, except the ticks of axes 0,1,3 remain in the wrong rotation. I used the functionality to rotate the ticks on axis 2 and it works perfectly. My question is, is this possible with the current functionalities of the library, and if not, does it sound useful to you for the library that I try to implement this feature to be possible for the remaining three axes? I know it would be the cleanest solution for my problem, and I would very much like to contribute to the library that helped me tremendously on the work!

P.S. I read your issue #180 about rotation of labels, but It didnt answer my question so I had to ask like this.
Kind regards!

@leeoniya
Copy link
Owner

the way to rotate a plot is to specify scale and axis direction and orientation: https://leeoniya.github.io/uPlot/demos/scales-dir-ori.html

it's unlikely to work properly another way.

@leeoniya leeoniya added the question Further information is requested label Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants