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/09/17 07:19:25 UTC

[GitHub] waiting0729 commented on issue #9079: 柱状图series中的data个数不一致时溢出

waiting0729 commented on issue #9079: 柱状图series中的data个数不一致时溢出
URL: https://github.com/apache/incubator-echarts/issues/9079#issuecomment-421912113
 
 
   感谢回复,我这个问题已经解决了。
   搭个楼借问另外一个问题:
   想实现禁用掉legend的点击事件(主要不想要在饼图情况下点击图例取消该图例响应的占比),但是保留hover事件
   在实现过程中发现,用了selectedMode: false,后hover事件也会被禁用掉
   准备监听legendselectchanged事件,代码:
   myChart.on('legendselectchanged', function (params) {
           console.log('legendselectchanged')
           var option = myChart.getOption();
           console.log(option)
           myChart.setOption(option)
         });
   发现还是会取消相应的比例,这种有没有好的方法解决?

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