plainheart commented on issue #19778: URL: https://github.com/apache/echarts/issues/19778#issuecomment-2027043754
可以尝试如下两种方式: 1、CSS 选择器 ```css canvas[data-zr-dom-id="zr_你的canvas序号"] ``` 2、通过 API 获取到 Canvas Layer 对应的 DOM 元素 ```js myChart.getZr().painter.getLayer(Canvas序号).dom.style.zIndex = xxx ``` -- 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]
