timelines-chart icon indicating copy to clipboard operation
timelines-chart copied to clipboard

Is there any way to allow panning/scrolling with this module?

Open alexbfree opened this issue 5 years ago • 3 comments

One other question, is there any way that the user can pan/scroll the current view once zoomed in? Or is "reset zoom" the only option to change view (besides zooming in further)

If not available, what would be involved in building this feature if I were to fork the code? Any pointers would be useful.

alexbfree avatar Jan 30 '19 10:01 alexbfree

@alexbfree pan/scroll-zoom interactions are not currently supported. I'd say that to add support to it would be mostly a matter of wiring d3-zoom to behave the same way as the overview area.

vasturiano avatar Jan 31 '19 10:01 vasturiano

Thanks for that. I may look into building that capability. Out of interest, is this on your roadmap at all?

alexbfree avatar Feb 04 '19 11:02 alexbfree

@alexbfree I think it would be a useful addition. I don't have immediate plans to add it, but may do at some point, if I can find a bit of time. :)

vasturiano avatar Feb 05 '19 00:02 vasturiano