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

Missing example implementation of HTML legend #8511

Closed
kurkle opened this issue Feb 24, 2021 · 2 comments · Fixed by #8804
Closed

Missing example implementation of HTML legend #8511

kurkle opened this issue Feb 24, 2021 · 2 comments · Fixed by #8804
Assignees
Milestone

Comments

@kurkle
Copy link
Member

kurkle commented Feb 24, 2021

@etimberg @benmccann It has been a year and chartjs 3.0 is about to release. Any example or public API to power a cutom legend? I've come across a similar case like the one of @yusufozturk 's

Originally posted by @ace-han in #6887 (comment)

@etimberg
Copy link
Member

etimberg commented Feb 24, 2021

We could show it as an example plugin in the docs. I think it should be relatively quick to implement. The APIs to do the legend hide/show are all public already 😄

@ace-han
Copy link

ace-han commented Feb 26, 2021

@etimberg I appreciate your quick response. Could you post some demo code here in this thread first, please?

Scrolling lots of legends in an extra div and being able to show/hide onClick is one of urgent tasks in my case.

Thx in advance.

@etimberg etimberg added this to the Version 3.1 milestone Mar 19, 2021
@etimberg etimberg self-assigned this Apr 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants