-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Show/Hide all traces as a single event #968
Comments
Can you clarify what you mean by event?
|
this: An event as in a user click / double-click interaction |
Here's two ways to do this: http://codepen.io/etpinard/pen/BLpVrG I doubt that a native hide / show all trace buttons would benefit a lot of users. Could you elaborate on the possible use cases? |
Would something like what's discussed in #674 satisfy your request? |
Thanks, the codepen example is close and seems like something I can build a custom solution with. The functionality I would like would be to only unselect them in the legend and remove from plot/chart, not an actually hiding of the legend (my mistake for any confusion). I'm not sure about others, but my particular use case is when many country data points are plotted, and the user would like to easy compare only a few if those at a time without having to create new charting, and without having to manually unselect/hide all the unwanted traces. #647, yes that would, as it is another easy/fast option to hide all unwanted traces. |
Here's another example that keeps the legend: http://codepen.io/etpinard/pen/YGNjwL I like the idea of adding multiple legend modes to fine tuned legend click (or even double click) iterations. The exact details of the implementation aren't 100% clear to me and need to be worked out. Would it be ok if I merge your issue with #674 ? |
That codepen is the exact functionality we are looking for. Yes merging is fine, thanks for the help! |
merged with #674 |
Feature request here
It does not seem possible that all traces can be shown/hidden with one click event. In the case where there are many traces and I want to compare small portions, hiding all and then selecting only the ones I want is a much simpler workflow than what is currently possible (deselecting all the ones I don't want).
The legend seems like the most obvious choice to put the event creator, but I wouldn't be opposed to having it in the toolbar as well.
The text was updated successfully, but these errors were encountered: