You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by GitBox <gi...@apache.org> on 2018/05/29 04:01:41 UTC

[GitHub] manglobe commented on issue #7959: API: echarts.clear() 该方法清空当前实例。使用该方法后调用 getOption 方法返回并不是空对象

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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@echarts.apache.org
For additional commands, e-mail: dev-help@echarts.apache.org