brohan1705 opened a new issue #11883: legend.selectedMode设为false,series[i]-pie.legendHoverLink设为true时,图例hover无反应 URL: https://github.com/apache/incubator-echarts/issues/11883 ### Version 4.5.0 ### Steps to reproduce 在echarts的example网站,输入如下options ``` option = { tooltip: { trigger: 'item', formatter: "{a} <br/>{b}: {c} ({d}%)" }, legend: { orient: 'vertical', x: 'left', data:['直接访问','邮件营销'], selectedMode: false }, series: [ { name:'访问来源', type:'pie', radius: ['50%', '70%'], avoidLabelOverlap: false, legendHoverLink: true, label: { normal: { show: false, position: 'center' }, emphasis: { show: true, textStyle: { fontSize: '30', fontWeight: 'bold' } } }, labelLine: { normal: { show: false } }, data:[ {value:335, name:'直接访问'}, {value:310, name:'邮件营销'} ] } ] }; ``` 配置项已设置legendHoverLink为true,但生成的图表,鼠标悬停无效高亮。判断是由于legend.selectedMode为false导致,但文档中并未描述这两个属性有什么关系。 ### What is expected? 点击图例无法切换图例显示/取消状态,但鼠标悬停可以高亮对应图例 ### What is actually happening? 点击图例无法切换图例显示/取消状态,鼠标悬停无法高亮对应图例 <!-- 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: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
