-
Notifications
You must be signed in to change notification settings - Fork 355
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
Double click #1404
Comments
Hi @nergiszaim, can you provide link demo to check? |
Sure, https://plotly.com/r/bar-charts/ Here if you double click to any legend, it will just filter that group on the chart. |
There's no option doing that, but you can implement easily. |
That is awesome! Do you happen to have this example as an R code? |
It looks like What would be a nice addition is if you double click the item again, or perhaps also if all options have been deselected, it does the |
Hi @kmatarese, thanks for sharing this. There're 2 possible actions can be taken from this:
|
Seeing as At the risk of overloading this particular issue, there are a handful of related legend improvements I would find useful. I'll mention them in case they are easy while you are implementing double-click. To add some context, in my application I can easily run into cases where there are hundreds of series being charted at once. The legend UI/UX doesn't scale that well to this scenario, though I realize it's my use case that is unusual, not the legend itself. For now I just cut the legend out over a certain threshold.
Thanks for your help and for all of your work on this. If you'd like me to open separate issues for any of these let me know. |
I loved to. Please open each issues as separate one, where will help manage and implement.
|
I'm going to ignore this one as it's something that could be handled with your double-click implementation. If you double click an item it should show just that series. If you double click it again it should reset the chart (show all). Alternatively having an optional "reset" control in the legend could be useful. Again this becomes more of an issue when you chart many series and you don't want to have to click all of the legend items to reset.
Combined both of these ideas into one issue: #1601 |
- Implement double click interaction and option - Reenforce legend click interaction on API doc Ref naver#1404
# [3.9.0](3.8.2...3.9.0) (2023-07-03) ### Bug Fixes * **export:** Fix Plugin class import ([24c0976](24c0976)), closes [#3221](#3221) * **shape:** Fix shape rendering issue on Windows ([cf1b484](cf1b484)), closes [#3222](#3222) * **tooltip:** Fix tooltip overflow when right side edge is hovered ([9ce900d](9ce900d)), closes [#3254](#3254) ### Features * **arc:** Intent to ship arc.needle ([04e90aa](04e90aa)), closes [#3205](#3205) * **bar:** Intent to ship bar.front ([f7e0d80](f7e0d80)), closes [#2965](#2965) * **data:** Intent to ship data.labels.position function ([59be3ec](59be3ec)), closes [#3237](#3237) * **legend:** Intent to ship legend.item.interaction.dblclick ([18f5c4a](18f5c4a)), closes [#1404](#1404) * **legend:** Intent to ship legent.item.interaction ([af87d10](af87d10)), closes [#1598](#1598) * **point:** Enhance point.sensitivity ([a537201](a537201)), closes [#2568](#2568) * **theme:** Intent to ship dark theme ([252a28e](252a28e)), closes [#3229](#3229)
Description
I have multiple groups in a stack chart, and would like to see one by one. deselecting all the groups to see only one is cumbersome. Is there a double click option like in Plotly to show one series right away?
Steps to check or reproduce
The text was updated successfully, but these errors were encountered: