You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2022/02/23 07:53:18 UTC
[GitHub] [echarts] tmd-set opened a new issue #16564: [Bug] getDataURL doesn't render the chart, only the axes
tmd-set opened a new issue #16564:
URL: https://github.com/apache/echarts/issues/16564
### Version
5.3.0
### Link to Minimal Reproduction
https://codepen.io/tmd-set/pen/zYPaExV
### Steps to Reproduce
1. I create the chart in codepen and use getDataURL to get base64 image of it to be shown in an <img> tag, but only the axes are shown, the main chart is missing and not rendered in the image. https://codepen.io/tmd-set/pen/zYPaExV
### Current Behavior
Only the axes are shown, the main chart is missing and not rendered in the image. https://codepen.io/tmd-set/pen/zYPaExV
### Expected Behavior
Everything in the canvas should be rendered in the base64 image.
### Environment
```markdown
- OS:
- Browser:
- Framework:
```
### 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: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
[GitHub] [echarts] plainheart commented on issue #16564: [Bug] getDataURL doesn't render the chart, only the axes
Posted by GitBox <gi...@apache.org>.
plainheart commented on issue #16564:
URL: https://github.com/apache/echarts/issues/16564#issuecomment-1048527542
Animation is enabled by default. You need to wait until the animation ends before getting the data URL, or you can disable the animation via `animation: false`.
--
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: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org