-
Hi, Recently, I try to do something that can apply to multiple SVGs in a SVG parent with d3.v4.js..
For imaging easily, the HTML elements look like <svg id='parent'>
<g transform="translate(26048.786909321167,-7776.133710715923) scale(0.8705505632961249)">
<svg id='child1'>
<g>
<forignObject>
<canvas></canvas>
</forignObject>
</g>
</svg>
<svg id='child2'>
<g>
<forignObject>
<canvas></canvas>
</forignObject>
</g>
</svg>
...
</g>
</svg> However, I have some problems.
My zoom setting is d3.zoom().scaleExtent([0.01, 5]) My browser is Chrome Version 88.0.4324.190 (Official Build) (64-bit). |
Beta Was this translation helpful? Give feedback.
Answered by
cshimegi
Mar 4, 2021
Replies: 2 comments 2 replies
-
I got the answer. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
Fil
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I got the answer.