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

Clickable bar charts #22

Closed
peterbe opened this issue Nov 26, 2019 · 2 comments
Closed

Clickable bar charts #22

peterbe opened this issue Nov 26, 2019 · 2 comments

Comments

@peterbe
Copy link

peterbe commented Nov 26, 2019

I'm using a stacked bar chart and I'd like things to happen when the user clicks bars. At the moment, a legend floats under the mouse cursor but I'd like to do more. I'd click to display information underneath the chart about the bar you clicked on.

@jwilber
Copy link
Owner

jwilber commented Jun 25, 2020

That's a solid idea but it's too broad (different users may want different info to display).
I suppose one could add an additional_info param to hold an array corresponding in a 1-1 manner for additional data but I think for something so one-off the user is better just cloning the code and adding their own click-event.

@jwilber jwilber closed this as completed Jun 25, 2020
@jwilber
Copy link
Owner

jwilber commented Jun 25, 2020

Closing for now but if you have any further ideas on it/PR/etc feel free to post (or re-open)! @peterbe

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