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

on click and hover event in series-webgl-bar #1803

Open
kelp-harshal opened this issue Jan 3, 2024 · 2 comments
Open

on click and hover event in series-webgl-bar #1803

kelp-harshal opened this issue Jan 3, 2024 · 2 comments

Comments

@kelp-harshal
Copy link

I am unable to find the way to get on click and hover event in series-webgl-bar, will you please help me how to get this?

@ColinEberhardt
Copy link
Member

Hi @kelp-harshal on click and hover events are triggered from the Document Object Model / DOM (HTML or SVG). The WebGL series does not have a DOM, and as a result, these 'native' events are not fired. You're going to have to find a more 'manual' route to detecting clicks / hover.

@ColinEberhardt
Copy link
Member

You might want to look at this example for some ideas: https://github.com/ColinEberhardt/d3fc-webgl-hathi-explorer

@cfisher-scottlogic cfisher-scottlogic added this to the Triage issues milestone Apr 17, 2024
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

3 participants