Skip to content

exception when panning / zooming an updating plot #3617

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

Closed
patrislav1 opened this issue Mar 8, 2019 · 1 comment
Closed

exception when panning / zooming an updating plot #3617

patrislav1 opened this issue Mar 8, 2019 · 1 comment

Comments

@patrislav1
Copy link

Hi,

this bug is reproducible in the official plot-updating ("streaming") example that uses the extendTraces() API to update the plot.
https://plot.ly/javascript/streaming/
https://codepen.io/plotly/pen/dRaawR

when a mouse click happens inside the graph for a pan/zoom operation while extendTraces() is running, there is a uncaught exception: undefined error.
and upon mouse button release it says

TypeError: calcdata is undefined[Learn More] plotly-latest.js:113938:16

drawData https://cdn.plot.ly/plotly-latest.js:113938 
syncOrAsync https://cdn.plot.ly/plotly-latest.js:103128 
relayout https://cdn.plot.ly/plotly-latest.js:110061 
wrappedEdit https://cdn.plot.ly/plotly-latest.js:110618 
call https://cdn.plot.ly/plotly-latest.js:142243 
dragTail https://cdn.plot.ly/plotly-latest.js:120870 
syncOrAsync https://cdn.plot.ly/plotly-latest.js:103128 
dragTail https://cdn.plot.ly/plotly-latest.js:120866 
onDone https://cdn.plot.ly/plotly-latest.js:85342 

when it's a pan operation, then the plot jumps back and forth before eventually showing up at the position to where it's supposed to move.

@etpinard
Copy link
Contributor

etpinard commented Mar 8, 2019

Thanks for reporting! Merging with #3305

@etpinard etpinard closed this as completed Mar 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants