question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Mouse events for the grid area of charts

See original GitHub issue

One-line summary [问题简述]

image

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:closed
  • Created 5 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
arslanhashmicommented, Mar 12, 2020

@Ovilia is this feature available now?

0reactions
YuhangGecommented, Nov 27, 2018

@cuijian-dexter yes, it works! thanks!

By the way, I suggest adding this interface getZr and example to document.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found