dingww removed a comment on issue #9256: echarts 4.0 树缩放 后收拢根节点会玩失踪 URL: https://github.com/apache/incubator-echarts/issues/9256#issuecomment-518586330 找到解决办法了! 给树图的Echarts组件加一个点击事件,当event.dataIndex === 1时,初始化一个Echarts实例 myCharts,然后将myChart._chartsViews[0].group.position 重置为 [0, 0]就可以了。 亲测有效。
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org For additional commands, e-mail: dev-h...@echarts.apache.org