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

Make Legend clickable to show and hide elements #119

Open
dominik-eller opened this issue Feb 9, 2024 · 2 comments
Open

Make Legend clickable to show and hide elements #119

dominik-eller opened this issue Feb 9, 2024 · 2 comments

Comments

@dominik-eller
Copy link

dominik-eller commented Feb 9, 2024

Summary

It would be a great feature if the legend elements were clickable to show / hide elements of the chart.

Two elements hidden:
Bildschirmfoto 2024-02-09 um 13 22 50

One element hidden:
Bildschirmfoto 2024-02-09 um 13 23 01

Proposal

I don't know the implementation of your project, so I am not in the position to make a concrete proposal.

Additional Notes

I know that feature from chartisan/chartjs and it was great. I was used to use https://github.com/ConsoleTVs/Charts before it was deprecated.
The legend entries gets greyed out on click and the cart is updating and only show columns of active legend elements. I guess the feature could work for all chart types, not only column chart.

@dominik-eller
Copy link
Author

Sorry, I just saw it is working already. I was sure yesterday it did not.
This could be closed.

@dominik-eller
Copy link
Author

It is only working on multiple Column Charts. Not on default ones. Please add that feature

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

1 participant