Mouse events for the grid area of charts
See original GitHub issueOne-line summary [问题简述]
It is expected to trigger mousover events when mouse is at the red position, rather than on the data point.
It is mentioned in other issues that this can be fixed by using xAxis.triggerEvent, but it is only trigger when hover on axis label in my test.
Version & Environment [版本及环境]
- ECharts version [ECharts 版本]: 4.1.0
- Browser version [浏览器类型和版本]: chrome69
- OS Version [操作系统类型和版本]: windows
Expected behaviour [期望结果]
A solution is expected.
ECharts option [ECharts配置项]
option = {
}
Other comments [其他信息]
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Mouse events for the grid area of charts · Issue #9281 - GitHub
We are going to add a feature that mouse events (mouseover, click, and etc.) be fired at grid area, which is the blank...
Read more >Mouse Events | Grid | JavaScript Wijmo Demos - GrapeCity
The grid below has a handler attached to the 'mousemove' event, and shows information about the element under the mouse.
Read more >Creating a Mouse Click Event for a Column Chart
Creating a Mouse Click Event for a Column Chart. You can add animation when you click on any column in the Column chart,...
Read more >Events - TreeGrid
Events and actions. TreeGrid documentation. TreeGrid contains fully customizable Key and Mouse schema, all key and mouse actions (JavaScript callbacks, ...
Read more >Pass mouse events through Bootstrap Grid - Stack Overflow
I was hoping that I could position content over the map control while still allowing the canvas beneath to receive mouse events where...
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
@Ovilia is this feature available now?
@cuijian-dexter yes, it works! thanks!
By the way, I suggest adding this interface
getZr
and example to document.