Re:Fixing the D3-zoom API for my use-case
by kevincox on Friday October 23, 2020 @07:15PM
(#24875394)
The first "final" chart pans and zooms wrong. It appears that it pans roughly half the distance that I move the mouse and scrolling to zoom zooms on a point that isn't the mouse.
However the d3fc-zoom chart near the bottom works perfectly.
Re:Fixing the D3-zoom API for my use-case
by chrisprice on Monday October 26, 2020 @08:15AM
(#24895271)
Thanks for the feedback. Depending upon the devicePixelRatio, interactions with the first chart would misbehave. I've just pushed a fix to the code, and updated the post, which should rattle through the various CDNs before too long.
However the d3fc-zoom chart near the bottom works perfectly.