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 an example of using popper.js to show a tooltip in a scatterplot #874

Open
wlach opened this issue Jun 29, 2018 · 1 comment
Open

Add an example of using popper.js to show a tooltip in a scatterplot #874

wlach opened this issue Jun 29, 2018 · 1 comment

Comments

@wlach
Copy link
Collaborator

wlach commented Jun 29, 2018

@cnwangjie did up a great demo of how it's already possible to use popper.js in combination with the mouseover event to show a tooltip when elements of a scatterplot are hovered over:

https://jsfiddle.net/wangjie/6cp98pcp/

We really should update the docs to show how this works. We probably need to reorganize the documentation categories in general, but for now putting this under "experimental" (where the other scatterplot stuff is) should be fine.

@cnwangjie
Copy link
Contributor

@wlach Hi, I submit a PR (#894) to add an example just now. It could be used in any chart type with mouseover option. So I create the example with a line chart and a scatterplot, I think it can just show how it works. Could you take a look?

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

No branches or pull requests

2 participants