echarts icon indicating copy to clipboard operation
echarts copied to clipboard

tree 开启roam鼠标缩放和平移漫游,点击节点时,如何将点击的节点移到居中位置。好像并不能获取到节点相对树图的距离吧

Open BWA-579 opened this issue 1 year ago • 1 comments

What problem does this feature solve?

聚焦点击的节点展开

What does the proposed API look like?

支持动态居中

BWA-579 avatar Jun 21 '24 08:06 BWA-579

@BWA-579 It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗

TRANSLATED

TITLE

Tree enables roam mouse zooming and panning roaming. When clicking a node, how to move the clicked node to the center position. It seems that the distance between the node and the tree diagram cannot be obtained.

BODY

What problem does this feature solve?

Focus on the clicked node expansion

What does the proposed API look like?

Support dynamic centering

echarts-bot[bot] avatar Jun 21 '24 08:06 echarts-bot[bot]

see #20098 #18961

helgasoft avatar Jul 01 '24 05:07 helgasoft

参见#20098 #18961

是tree,不是treemap哦

BWA-579 avatar Jul 01 '24 06:07 BWA-579

clicked tree node to center - Demo. 📌 please close issue if problem solved.

helgasoft avatar Jul 03 '24 06:07 helgasoft

clicked tree node to center - Demo. 📌 please close issue if problem solved.

clicked tree node to center - Demo. 📌 please close issue if problem solved.

nb,解决了十分感谢

BWA-579 avatar Jul 03 '24 07:07 BWA-579