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

Create a reference plot #10

Open
alexjmu opened this issue Jan 16, 2018 · 2 comments
Open

Create a reference plot #10

alexjmu opened this issue Jan 16, 2018 · 2 comments
Assignees

Comments

@alexjmu
Copy link
Contributor

alexjmu commented Jan 16, 2018

As per our discussion with Steve, it'd be cool to have a large reference plot for the purpose of zooming in on one part of the data: Selecting a timespan in the reference plot would cause data for just that timespan to be plotted in another graph.

From what I understand, Shiny does not currently support making two independent brush selections on one graph, which means you couldn't use the reference plot to "zoom in" on two different time periods at once for comparison. We might be able to use a couple of sliders to each select a time period instead, but this is obviously less visually pleasing.

Further research is required!

@alexjmu alexjmu self-assigned this Jan 16, 2018
@alexjmu
Copy link
Contributor Author

alexjmu commented Jan 17, 2018

Researched Plotly which works with R and Python, and allows interactive graphs. Specifically it seems to have good support for time period selections. Researched Shiny's support for interactive graphs further, which is very small. Could use one large plot to compare components with two smaller plots for selecting time periods.

@alexjmu
Copy link
Contributor Author

alexjmu commented Jan 17, 2018

Created a larger, third plot as per be3804f. You can select a period in each of the two smaller plots and see just that data plotted in the larger one. A bit primitive (and needs refactoring!) but good proof of concept.

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

1 participant