Skip to content

Synchronizing multiple timeseries plots with range selectors #1490

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
vagifaliyev opened this issue Mar 16, 2019 · 1 comment
Closed

Synchronizing multiple timeseries plots with range selectors #1490

vagifaliyev opened this issue Mar 16, 2019 · 1 comment

Comments

@vagifaliyev
Copy link

vagifaliyev commented Mar 16, 2019

Hello,

I really enjoy the library which I am using in JavaScript for my uni project, unfortunately I have run into synchronization issues between multiple timeseries graphs on the page, this is basically the same thing as issue #298 which was opened several years ago, but unfortunately I did not find the solution to it:

I have two graphs on the same page which display different column from a CSV file but they both correspond to the same time data set by the 3rd column, the range selectors work fine but I was wondering if its possible to change the range on both graphs by only dragging one of them.

This is behavior I am after: https://rstudio.github.io/dygraphs/gallery-synchronization.html

Thanks again for such a great library!

@cpsievert
Copy link
Collaborator

Please briefly describe your problem and what output you expect. If you have a question, please don't use this form, but instead ask on the community forum http://community.plot.ly/c/api/r or stackoverflow http://stackoverflow.com.

BTW, I think you're looking for shareX in subplot()? https://plotly-r.com/merging-plotly-objects.html#fig:economics

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