echarts-bot[bot] commented on issue #18028:
URL: https://github.com/apache/echarts/issues/18028#issuecomment-1339815994
@Juraste 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. 🤗
<details><summary><b>TRANSLATED</b></summary><br>
**TITLE**
[Bug] The combination of charts rendered by Svg uses getConnectedDataURL to
report an error
**BODY**
### Version
5.4.0
### Link to Minimal Reproduction
_No response_
### Steps to Reproduce
1. Create two eCharts instances, both based on SVG rendering
2. Use two instances to form a group using connect
3. Add a toolbox to export images in one of the instances or use
myChart.getConnectedDataURL({ type: 'svg'});
4. Cannot set properties of undefined (setting 'innerHTML'), corresponding
to source code zr_1.painter.getSvgRoot().innerHTML = content_1;
### Current Behavior
Two echartsInstances (rendered with svg) of the same group, export fails
when using getConnectedDataURL ({type:'svg'}) with an error Cannot set
properties of undefined (setting 'innerHTML')
### Expected Behavior
Export a static SVG resource that merges two SVGs
### Environment
```markdown
- OS:Windows11
- Browser:Chrome 107.0.5304.107
- Framework:[email protected]
```
### Any additional comments?
_No response_
</details>
--
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]