Version
5.5.0
Link to Minimal Reproduction
none
Steps to Reproduce
option = {
title: {
text: 'World Population'
},
tooltip: {
trigger: 'axis',
axisPointer: {
type: 'shadow'
}
},
legend: {},
grid: {
left: '3%',
right: '4%',
bottom: '3%',
containLabel: true
},
xAxis: {
type: 'value',
boundaryGap: [0, 0.01]
},
yAxis: {
triggerEvent:true,
type: 'category',
axisLabel:{
margin:6,
width:140,
overflow:'truncate',
formatter:(value,index)=>{
return `${value}`
}
},
data: ['Brazil', 'IndonesiaIndonesiaIndonesiaIndonesia', 'USA', 'India', 'China', 'World'],
},
series: [
{
name: '2011',
type: 'bar',
data: [18203, 23489, 29034, 104970, 131744, 630230]
}
]
};
use this options create eCharts Horizontal bar in Official Demo Site ,then yAxis mouse effect is invalid and the binding event is not triggered
Current Behavior
the mouse gesture effect is invalid, and the binding event is not triggered.
Expected Behavior
the mouse gesture effectand the binding event is triggered.
Environment
- OS:
- Browser:
- Framework:
Any additional comments?
No response
1条答案
按热度按时间c2e8gylq1#
Full Code