Mousemove event only fires when mouse moves over circles on the line in line chart
See original GitHub issueOne-line summary [问题简述]
Mousemove event only fires when mouse moves over the circles on the line in line chart
Version & Environment [版本及环境]
- ECharts version [ECharts 版本]: 3
- Browser version [浏览器类型和版本]: chrome
- OS Version [操作系统类型和版本]: windows 10
Expected behaviour [期望结果]
Mousemove fires whenever mouse move over chart area, and not only circles on the line
ECharts option [ECharts配置项]
option = {
// TITLE - False
title: {
show: false,
text: 'Turbo Chart'
},
// TOOLBOX - False
toolbox: {
show: false
},
// LEGEND - False
legend: {
data: []
},
// TOOLTIP
tooltip: {
trigger: 'axis',
showContent: true,
axisPointer: {
lineStyle: {
color: '#20a5ad'
}
},
backgroundColor: 'white',
borderWidth: '1',
borderColor: '#20a5ad',
textStyle: {
color: '#20a5ad'
}
},
// GRID
grid: {
show: true,
top: '3%',
left: '2%',
right: '2%',
bottom: '3%',
containLabel: true,
borderColor: '#cccccc'
},
// X AXIS
xAxis: {
type: 'category',
boundaryGap: false,
axisTick: {
show: false
},
axisLine: {
show: false
},
splitLine: {
show: true,
lineStyle: {
color: '#c1e4e4'
}
},
axisLabel: {
inside: false,
margin: 5,
textStyle: {
color: '#339d9f',
align: 'left',
baseline: 'top'
}
}
},
// Y AXIS
yAxis: {
type: 'value',
axisTick: {
show: false
},
axisLine: {
show: false
},
splitLine: {
lineStyle: {
color: '#c1e4e4'
}
},
axisLabel: {
formatter: '{value}%'
}
},
series: [{
type: 'line',
data: []
}]
}
Other comments [其他信息]
Issue Analytics
- State:
- Created 6 years ago
- Reactions:3
- Comments:5
Top Results From Across the Web
Mousemove event only fires when mouse moves over circles ...
Mousemove event only fires when mouse moves over circles on the line in line chart #6418. stale. Will be closed in 7 days....
Read more >The mouse over event is not fired during the drag and drop ...
The problem is simply that the 'mouseover' event only gets triggered on the top-most element when two elements are painted one over top...
Read more >Element: mousemove event - Web APIs | MDN
The mousemove event is fired at an element when a pointing device (usually a mouse) is moved while the cursor's hotspot is inside...
Read more >[Solved]-d3.js Animation Follow Circles on Mouse Move-d3.js
You want a mouse-over to behave like a drag? node.on("mousemove", function(d){ d3.event.stopPropagation(); // stop the default event handling d.fixed = true ...
Read more >Moving the mouse: mouseover/out, mouseenter/leave
The mouseover event occurs when a mouse pointer comes over an element, and mouseout – when it leaves. These events are special, because...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Now over 2 years, there is still no fix to 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!