-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Pan draw error in scattergl + rangeslider and multiple yaxis #2830
Comments
Thanks for writing in. This is what I'm seeing off your vincex#2: which doesn't seem to solve the double drawing problem. Moreover, I would be reluctant to merge your patch as it could potentially slow down a hot code patch. I think we should instead dedicate our efforts towards #2627 |
Ok, we will wait for #2627. |
Are you using a different plotly.js version? |
node_modules\plotly.js\dist\plotly.js from 1.39.2 available in npm. Im trying to replicate even the init flow. |
Here a pen with the full flow, but the doubletrace bug is still there. |
Hmm https://codepen.io/anon/pen/NBbZEg gives me: Strange. Oh well, there's probably a lot more things that aren't working properly on scattergl+rangeslider graphs. Ok if I merge this ticket with #2627 ? |
That is perfectly fine #2627 share the same goal. |
https://codepen.io/anon/pen/NBbZEg
Actually im using a scattergl plot in a sort of "mixed mode":
Using this configuration if the user tries to pan, all the scatterlg traces are painted erroneously:
This seems related to the fact that rangeslider is rendered as last.
When rendered the rangeslider sets the viewport and remains unchanged while panning.
This seems fix the problem:
https://github.com/vincex/plotly.js/pull/2
The text was updated successfully, but these errors were encountered: