Open williamh890 opened 4 years ago
I don't think this translate is needed on the zoom and pan example since the SVG element is already translated and the pointer event rect is relative to that.
https://github.com/holtzy/D3-graph-gallery/blob/fbb61819d3d56de5ea85042e90f71d2e36b77a5a/graph/interactivity_zoom.html#L409
I don't think this translate is needed on the zoom and pan example since the SVG element is already translated and the pointer event rect is relative to that.
https://github.com/holtzy/D3-graph-gallery/blob/fbb61819d3d56de5ea85042e90f71d2e36b77a5a/graph/interactivity_zoom.html#L409