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 2019/07/09 09:25:00 UTC

[GitHub] [incubator-echarts] ananix opened a new issue #10828: 地图下钻后调用.clear()方法依旧不能清除上一层地图中的部分series的一些效果

ananix opened a new issue #10828: 地图下钻后调用.clear()方法依旧不能清除上一层地图中的部分series的一些效果
URL: https://github.com/apache/incubator-echarts/issues/10828
 
 
   ### Version
   3.4.0
   
   ### Reproduction link
   [https://ananix.github.io/qianxi/xiazhuan.html](https://ananix.github.io/qianxi/xiazhuan.html)
   
   ### Steps to [reproduce]
   1.我有一个地图,上面有line,effectScatter
   2.我要点省市地图下钻,下钻到下级地图后重新加载line,effectScatter等的数据 
   3.触发点击事件后,调用echarts.clear()方法清空数据
   4.重新加载地图,发现在新的地图里面并没有清除掉其中一个line系列的数据,即新图上仍然存在line
   5.调试发现,仅当line的配置项trailLength: 0.7,( 不为零时),才有这种情况
   6.目前需求上层line 的trailLength必须不为零,且在下钻时我要清除line
   7.此为bug?
   
   ### What is expected?
   清除数据
   
   ### What is actually happening?
   .clear()不能清除line的配置项trailLength的数据
   
   ---
   下钻时请点击甘肃-陇南-西和(因为其他地区还没有map数据)
   
   <!-- This issue is generated by echarts-issue-helper. 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:
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