antvis / G2Plot

:dango: An interactive and responsive charting library based on G2.
https://g2plot.antv.antgroup.com
MIT License
2.55k stars 605 forks source link

🤔 [QUESTION] 我在使用CirclePacking 数据量比较大的时候我想拥有放大缩小功能 我使用了svg 进行渲染 并且使用D3的zoom来进行实现 #3728

Open zcx992132258 opened 8 months ago

zcx992132258 commented 8 months ago

🐛 Question description [Please make everyone to understand it]

我在使用CirclePacking数据量比较大的时候我想拥有放大缩小功能我使用了svg进行渲染并且使用D3的zoom来进行实现 但是D3好像会让原本的交互事件和Tooltip这些事件失效或者位置不准确,

💻 Link to minimal reproduction

Please provide a link by forking these links g2plot or GitHub repo. What is a minimal reproduction, and why is it required?

🏞 Expected result

有什么办法可以直接到渲染图形的位置信息我自己进行原生SVg渲染或者zoom的放大缩小不让原本的事件失效

🚑 Any additional [like screenshots]