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/04/26 08:53:03 UTC

[GitHub] [incubator-echarts] Nekosandesu opened a new issue #10370: 选中toolbox中的某个icon,重新请求数据,该icon无法自动解除高亮状态

Nekosandesu opened a new issue #10370: 选中toolbox中的某个icon,重新请求数据,该icon无法自动解除高亮状态
URL: https://github.com/apache/incubator-echarts/issues/10370
 
 
   ### Version
   4.2.0-rc.1
   
   ### Steps to reproduce
   1.假设图表有2个series的数据,默认展示折线图,选中图例二(图例设置:单选,默认图例一),选中toolbox(toolbox设置:折线图、柱形图、还原)中的柱状图icon,icon高亮显示
   2.重新请求数据并setOption
   
   ### What is expected?
   图表恢复折线图展示新数据,toolbox恢复默认状态(没有一个icon高亮)
   
   ### What is actually happening?
   图表状态是折线图,toolbox中的柱形图icon仍然是高亮状态
   
   ---
   在setOption前先setOption({}),发现无用,但是在setOption前调用了restore事件,就可以恢复了
   
   <!-- 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