Uh oh!
There was an error while loading. Please reload this page.
Add legend click interaction attrs - #3862
Conversation
- both enumerated with values 'toggle', 'focus', false
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
antoinerg
commented
May 15, 2019
Codepen with the new feature: https://codepen.io/antoinerg/pen/XwpvaO |
antoinerg
commented
May 15, 2019
Once a legend item is focused and we want to focus on another one, we have to first unfocus (it requires 2 actions): Now I understand this would be a breaking change and I am not even suggesting that we include this new mode in this PR. However, we should probably think ahead of time what its name would be. Maybe it could be called |
antoinerg
commented
May 21, 2019
Thank you for adding customizability to our legend interactions @etpinard 💃 💃 |

currently named
itemclickanditemdoubleclick, both enumerated attributes with values'toggle','focus'(now'toggleothers'),false. This PR could be viewed as a follow-up of #2581resolves#665 by setting
resolves#674 by setting
and should help us offer solutions for #1462 and #3135
cc @plotly/plotly_js