Closed petezhang closed 3 years ago
请问下当前这个问题是否有临时解决方案
可以这么临时处理,将label都行显示出来,但是是透明的,悬浮的时候再改成非透明
label: {
normal: {
show: true,
color: 'transparent' // 地图改用svg的方式进行渲染的话,会出现鼠标悬浮过去之后label不消失的情况
},
emphasis: {
show: true,
textStyle: {
color: '#fff'
}
}
},
This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.
This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!
One-line summary [问题简述]
echarts4.0使用svg模式渲染地图,鼠标悬浮到地图上时显示地区标签名称,但是鼠标移开时显示地区名没有消失;改用canvas模式渲染没有该问题
Version & Environment [版本及环境]
Expected behaviour [期望结果]
页面显示正常
ECharts option [ECharts配置项]
Other comments [其他信息]