d3 / d3

Bring data to life with SVG, Canvas and HTML. :bar_chart::chart_with_upwards_trend::tada:

Home Page:https://d3js.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is it possible to have 2 zooms methods (brush and wheel zoom) on same chart ?

davidbourrel opened this issue · comments

Hi !

We are working in a project that use d3.js (7.6.1) for chart and we wondering if it possible to use 2 zooms methods on the same chart ?

We currently use zoom brush with CTRL + mouse left click. It would be nice to have also the wheel zoom.

I noticed after some tries that the domain with brush zoom and wheel zoom was in conflict together. Is there some good practices to do this ? Can you maybe share some information to follow ?

Thanks ! :D