Ovilia commented on issue #16256: URL: https://github.com/apache/echarts/issues/16256#issuecomment-1000094857
基本思路是利用 [graph](https://echarts.apache.org/zh/option.html#series-graph) 图的漫游([roam](https://echarts.apache.org/zh/option.html#series-graph.roam))能力,帮助你简化移动画布引起的重绘方面的逻辑。你需要自己计算每个节点的位置,作为 [x](https://echarts.apache.org/zh/option.html#series-graph.data.x)、y 传入。但是除了漫游的能力之外,ECharts 能提供的帮助与你自己写 Canvas 相比,可能并没有非常大的区别,甚至自己写还比较直观一点。 -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
