Open qingyun1029 opened 4 months ago
@qingyun1029 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. 🤗
如果是 treemap 可以用如下 action 实现:
myChart.dispatchAction({
type: 'treemapZoomToNode',
seriesId: 系列 ID,
targetNodeId: 节点ID
})
参见 #18961。
action.treemap. treemapZoomToNode
定位之后,如果设置了 series 的 scaleLimit min,就无法缩小了
如果是treemap可以用如下action实现:
myChart.dispatchAction({ type: 'treemapZoomToNode', seriesId: 系列 ID, targetNodeId: 节点ID })
参见#18961。
What problem does this feature solve?
Due to the large amount of data in the diagram, the system is able to locate a node through search and locate it in the middle of the diagram.
Thanks !
What does the proposed API look like?
echarts v4.3,系统通过节点id就能够把当前节点定位到中心位置。