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 2022/02/25 02:07:51 UTC

[GitHub] [echarts] zhaoxuhui1122 commented on issue #5391: 多个legend设置selected时,legend需要单击两次才能切换状态

zhaoxuhui1122 commented on issue #5391:
URL: https://github.com/apache/echarts/issues/5391#issuecomment-1050444879


   > 天哪。 2022年遇到的问题原来在2017年就存在了
   
   记得这个问题好像是处在多组legend时,且当前legend不是第一次点击时会出现,可以尝试维护一个一个点击过的legend name list,判断一下,是否被点击过,然后再决定是否dispatchActipn,和具体处罚哪个action,当legendSelectAll时,再清空维护的缓存数据
   
   我当时应该是这么解决的,而为我的场景更复杂,是要legend点击效果跟highcharts那种的
   
   仅供参考


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

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

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