Fixing the D3-zoom API for my use-case
blog.scottlogic.com
Fixing the D3-zoom API for my use-case
1–6 of 6 posts
Re: Fixing the D3-zoom API for my use-case
#2The 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
#3Does not work on smartphone
Re: Fixing the D3-zoom API for my use-case
#4The 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.
they all work fine for me.
Re: Fixing the D3-zoom API for my use-case
#5these all worked for me; I didn't understand the difference between the native version and the new component.
Re: Fixing the D3-zoom API for my use-case
#6The 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.
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.