-
Notifications
You must be signed in to change notification settings - Fork 605
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
checkboxes in legend to control visibility #355
Comments
From da...@google.com on April 30, 2012 16:25:26 This is a fairly common request/addition. It should be implemented in a plugin. Status: Accepted |
From konigsb...@gmail.com on December 04, 2012 04:36:22 Labels: Plugins Component-UI |
From sitnikov...@gmail.com on March 01, 2013 11:02:31 Do you mean plugins/legend.js or some other kind of plugin? |
From dite...@quick.cz on June 14, 2013 02:18:24 It would be handy, to have curves visibility option integrated into legend. |
The good news is that it's possible to get this working fairly well without changes to dygraphs itself using the excellent legendFormatter feature... and I've shared what I came up with below in case it helps others (or is useful for implementing this as a full dygraphs plugin or option). However there are a couple of limitations in dygraphs that make this a little harder than it could be (would be great if these could be fixed):
Anyway, JavaScript code to add clickable legends is here:
|
From m...@google.com on April 25, 2012 15:41:14
It would be nice to have an option to show checkboxes in the legend, using which a user can switch the visibility of curves on/off.
Original issue: http://code.google.com/p/dygraphs/issues/detail?id=326
The text was updated successfully, but these errors were encountered: