Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add hover event callback on chart (not data series) #588

Open
1 task
stebogit opened this issue Apr 26, 2022 · 0 comments
Open
1 task

Add hover event callback on chart (not data series) #588

stebogit opened this issue Apr 26, 2022 · 0 comments

Comments

@stebogit
Copy link

Would you like to work on this feature?

  • Check this if you would like to implement a PR, we are more than happy to help you go through the process.

What problem are you trying to solve?

I noticed the google charts don't handle hovering events on the chat itself (only on the data series), so maybe it is not something you can/want to add, however it would be nice to have the option to interact with chart on hover and probably not hard to implement.
For example, by default Highcharts shows the tooltip whenever the mouse hovers the chart. My specific interest is to show a vertical line (annotation or crosshair) to highlight the value of all the lines in my chart at any specific horizontal tick when the mouse hovers the chart, like in this example (I draw the mouse as an example):

Screen Shot 2022-04-26 at 9 46 04 AM

Describe the solution you'd like

ideally when he mouse hovers over the chart an event is fired and you can provide the callback to be executed via chartEvents object.

Describe alternatives you've considered

No response

Documentation, Adoption, Migration Strategy

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant