You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2021/05/14 09:31:06 UTC

[GitHub] [echarts] shizhihuaxu opened a new issue #14950: 使用clear 方法无法清空图表组件

shizhihuaxu opened a new issue #14950:
URL: https://github.com/apache/echarts/issues/14950


   ### Version
   4.9.0
   
   ### Steps to reproduce
   页面上有两个设备,每个设备均有相应的图表数据信息,当切换设备时,使用clear()清空此图表的所有内容,legend 数据仍然存在,并且折线图上的上一个设备的数据依然会存在,随着数据请求后更新图表的点,才能将它清掉,但legend 一直存在;获取数据后也使用了setOptions(options, noMerge = true) 不合并直接更新
   
   ### What is expected?
   使用clear 清空图表后,应该去除上一个图表的所有数据信息
   
   ### What is actually happening?
   上一个图表的 legend一直存在,即使使用setOption noMerge 和clear()两者处理依然存在
   
   <!-- 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:
users@infra.apache.org



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


[GitHub] [echarts] echarts-bot[bot] commented on issue #14950: 使用clear 方法无法清空图表组件

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #14950:
URL: https://github.com/apache/echarts/issues/14950#issuecomment-841130283






-- 
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



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


[GitHub] [echarts] shizhihuaxu closed issue #14950: 使用clear 方法无法清空图表组件

Posted by GitBox <gi...@apache.org>.
shizhihuaxu closed issue #14950:
URL: https://github.com/apache/echarts/issues/14950


   


-- 
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



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