msbasanth opened a new issue #16098: URL: https://github.com/apache/echarts/issues/16098
### What problem does this feature solve? Now the SVG export feature is limited to toolbox and we have to follow below steps to get SVG from chart instance. 1. Use 'svg' as renderer when init ECharts; 2. Add saveAsImage in toolbox; 3. Click download in toolbox and will download the SVG chart. Many times we need to embed the charts inside our PDF's which is not possible now as we don't have a SVG export API in place. ### What does the proposed API look like? echartsInstance. getDataURL currently supports only PNG or JPEG we should extend it to support SVG when the chart is rendered using SVG. https://echarts.apache.org/en/api.html#echartsInstance.getDataURL <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE --> <!-- This issue is in English. DO NOT REMOVE --> -- 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-unsubscr...@echarts.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org