manglobe commented on issue #7959: API: echarts.clear() 该方法清空当前实例。使用该方法后调用 getOption 方法返回并不是空对象 URL: https://github.com/apache/incubator-echarts/issues/7959#issuecomment-392646448 ``` echartsProto.clear = function () { this.setOption({ series: [] }, true); }; ``` clear只清除了series ,跟文档有出入
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
