Replies: 2 comments
-
See https://www.chartjs.org/chartjs-plugin-zoom/latest/guide/options.html#draw-time |
Beta Was this translation helpful? Give feedback.
0 replies
-
Perfect! Thank you so much. I changed my zoom config to:
And now it draws on top of the plot like I want: |
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
-
I have a chart and I'm using the fill property to emulate a kind of histogram-over-time sort of plot. To do this I have to fill between pairs of series, and to get that right I need to specify the order for each one. This works well enough:
But, the problem I'm having is that the zoom box draws underneath the series and I can't seem to find a way to fix it:
This is how I'm configuring it:
Is it possible to get the plugin to draw on top always (even if it involves some monkey patching...)
Beta Was this translation helpful? Give feedback.
All reactions