statgen / locuszoom

A Javascript/d3 embeddable plugin for interactively visualizing statistical genetic data from customizable sources.
https://statgen.github.io/locuszoom/
MIT License
156 stars 29 forks source link

Drag panels horizontally to remap to new data (panning) #16

Closed Frencil closed 8 years ago

Frencil commented 8 years ago

Depends on #15

When a user clicks and drags horizontally on a data layer's background the charts and axes should drag left/right, and when completing a drag event should trigger a remap event to render new data based on new regions now in view.

Based on a previous discussion with Broad developers the desired default behavior would be to scale the y range on the positions panel to fit all data regardless of the previous view's y range.

Estimate

This feature will probably take two weeks of development to build and test.