Replies: 1 comment
-
I think a tooltip on x axes ticks works better. Closing.... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
When setting up labels for ticks on my X axes:
I would like those to be rendered vertically, or rotated with a specific angle, e.g. to get from:
to this or similar (excuse the blurry GIMP sketch):
I have been looking up "formatter" and "ImPlotAxisFlags" in the source and I am still not clean on how to do that without actually coding a whole new functionality, rotating the text myself. Looking at the online demo, it seems to me perhaps the "tags" formatting could help, yet no dice.
I would appreciate if you could point out either "LOL, use this flag and then this double would be the angle in radians" or if you could confirm that there is no such API and I have to somehow do it myself.
Drawing arbitrary vertical text,
I achieved this:
...so feels like if I just did it in...the tick formatter it could be the ticks labels? (EDIT: Nope. The formatter function declaration just handles string buffer, no drawing)
THX 🙏
Beta Was this translation helpful? Give feedback.
All reactions