Juraste opened a new issue, #18028:
URL: https://github.com/apache/echarts/issues/18028
### Version
5.4.0
### Link to Minimal Reproduction
_No response_
### Steps to Reproduce
1. 创建两个echarts instance,并且都基于svg渲染
2. 将两个instance利用connect形成group
3. 在其中一个instance中添加导出图片的toolbox 或是使用myChart.getConnectedDataURL({ type:
'svg'});
4. 报错Cannot set properties of undefined (setting 'innerHTML'),对应源码
zr_1.painter.getSvgRoot().innerHTML = content_1;
### Current Behavior
设为同一个group的两个echartsInstance(使用svg渲染),在利用getConnectedDataURL({type:'svg'})时导出失败,提示报错
Cannot set properties of undefined (setting 'innerHTML')
### Expected Behavior
导出一个合并两个svg的静态svg资源
### Environment
```markdown
- OS:Windows11
- Browser:Chrome 107.0.5304.107
- Framework:[email protected]
```
### Any additional comments?
_No response_
--
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]