han-ysys opened a new issue, #17615: URL: https://github.com/apache/echarts/issues/17615
### Version 5.3.3 ### Link to Minimal Reproduction _No response_ ### Steps to Reproduce 我想把chart导出成pdf,查到5.3.0之后有renderToSVGString这个方法,尝试了一下 ```javascript const echartsdiv = document.getElementById('chart-for-download') as HTMLElement chartins = echarts.init(echartsdiv, undefined, {renderer: 'svg'}) console.log('renderToSVGString', chartins.renderToSVGString()) ``` ### Current Behavior vscode报错 > Property 'renderToSVGString' does not exist on type 'EChartsType'. 然而在echarts.d.ts里是能找到renderToSVGString的定义的 > renderToSVGString(opts?: { useViewBox?: boolean; }): string; ### Expected Behavior 希望能够得到解决 ### Environment _No response_ ### 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-unsubscr...@echarts.apache.org.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