Skip to content
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

doubleClick to reset graph not working when type = "scattergl" #363

Closed
jamaz1 opened this issue Dec 20, 2015 · 1 comment
Closed

doubleClick to reset graph not working when type = "scattergl" #363

jamaz1 opened this issue Dec 20, 2015 · 1 comment

Comments

@jamaz1
Copy link

jamaz1 commented Dec 20, 2015

I'm running on Rstudio and encountered a problem when I used "scattergl" as plot type. I can not reset or autoscale the plot by doubleClicking on the graph.

Thus,
plot_ly(df, y = value, group = variable, type = "scattergl", mode = "lines+markers") %>% layout(hovermode="closest")
breaks the double-clicking feature.

Even if I use
config(doubleClick = "reset") or config(doubleClick = "autosize") (or "reset+autosize" for that matter)
it doesn't work.

@cpsievert
Copy link
Collaborator

This is a known limitation of 2d WebGL traces in plotly.js (see last bullet of this comment). Please subscribe to that issue to track its progress.

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