While renderer as SVG the SaveAsImage png file can't use
See original GitHub issueOne-line summary [问题简述]
when we use renderer:‘svg’ to init the echart as following echarts.init(element[0],theme,{renderer: ‘svg’}); the SaveAsImage echart.png file can’t use.
Version & Environment [版本及环境]
- ECharts version [ECharts 版本]: 4.02
- Browser version [浏览器类型和版本]: Chrome 63.0.3239.132
- OS Version [操作系统类型和版本]: Win10
Expected behaviour [期望结果]
ECharts option [ECharts配置项]
option = {
}
Other comments [其他信息]
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (3 by maintainers)
Top Results From Across the Web
While renderer as SVG the SaveAsImage png file can't use
Currently, only SVG file can be saved (with toolbox, set type to be svg ) when rendering in SVG. We will improve it...
Read more >Save svg image rendered by a javascript to local disk as .png file
Here are the steps that worked for me: Use JavaScript to serialize the SVG content. var svgString = new XMLSerializer().serializeToString( ...
Read more >Cannot Find PNG Option During Save As - Beginners' Questions
Shortcut: Ctrl+Shift+E. There is even a button for it, on the left of the undo button. Then a window pops up with all...
Read more >SVG vs PNG: What Are the Differences and When to Use Them
SVGs must be rendered by the browser when the page is loaded, so using an excess of them or a large file with...
Read more >Save SVG as an Image - TechSlides
This will not work as SVG is loading external images which are not contained within the SVG file. The good news is that...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Any update on this issue? 😃
@hughess Hi, it looks not very hard to implement and this feature could make the SVG renderer better. I’m going to take a try.