Sakura-gh opened a new issue #15179: URL: https://github.com/apache/echarts/issues/15179
### What problem does this feature solve? 使用this.chartInstance.clear()或this.chartInstance.setOption(..., true)都会把原先所有的内容给清空,尤其是在使用百度地图时,由于bmap属性被清除,导致所有自定义样式也会一同消失。如果使用上述两种方法,需要重新加载过多的资源,导致刷新卡顿。目前的需求是仅仅清空原option中的series属性,而不用清除其他属性导致重复加载。 ### What does the proposed API look like? chartInstance.clearSeries() <!-- 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
