echarts-bot[bot] commented on issue #20362:
URL: https://github.com/apache/echarts/issues/20362#issuecomment-2366762775
@zuozuozuosuccess 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>
**BODY**
### Version
5.5.1
### Link to Minimal Reproduction
let picInfo = chartInstance.getDataURL({ type: 'svg', pixelRatio: 1.5, //
Zoom in twice to download. Solve the blur problem of generated images on the
mobile terminal backgroundColor: '#fff', excludeComponents: ['toolbox'],
### Steps to Reproduce
1. Initialize the echarts instance object
2. Call the instantiated object method such as chartObject.getDataURL()
3. Click the button to download the svg format image of the echarts
4. getDataURL undefined appears. Sometimes the data can be obtained and
sometimes it is undefined. I don’t know what the internal execution sequence is.
### Current Behavior
1. I want to click the button to generate the svg format image of the
echarts.
2. But undefined appears when calling getDataURL()
3. And it appears irregularly. Sometimes the data can be obtained, and
sometimes it is undefined.
### Expected Behavior
1. I want to click the button to generate the svg format image of the
echarts.
2. However, calling getDataURL() can download svg format images normally.
### Environment
```markdown
- OS:
-Browser:
- Framework:
```
### 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]