graphic
graphic copied to clipboard
Dynamic ticks
When specifying a tick count or list of ticks, these are static and do not update on zooming/scaling. This results in ugly axes with overlapping labels when zooming out (or very scarce/empty axes when zooming in).
I was thinking that adding an option for automatically hiding, skipping, or adding labels based on the scale or coord would solve this. Other chart libraries often have implementations for this.
I have added an image below for reference.

This is a rather troublesome issue. It involves scale, coord zoom ratio. I am think about improving it but it takes time.
Meanwhile, I suggest you to control it with tickCount
or you can dynamically calculate it with gesture signals. That's a temporary verbose solution but it may work.
Meanwhile, I suggest you to control it with
tickCount
or you can dynamically calculate it with gesture signals. That's a temporary verbose solution but it may work.
If I dynamically calculate it, do I have to rebuild the whole widget?
Meanwhile, I suggest you to control it with
tickCount
or you can dynamically calculate it with gesture signals. That's a temporary verbose solution but it may work.If I dynamically calculate it, do I have to rebuild the whole widget?
Maybe not, you can have a try.
This is a rather troublesome issue. It involves scale, coord zoom ratio. I am think about improving it but it takes time.
Meanwhile, I suggest you to control it with
tickCount
or you can dynamically calculate it with gesture signals. That's a temporary verbose solution but it may work.
Hey @entronad, any update on this?