Persistent and Multiple Clicking and Unclicking Behaviour
See original GitHub issueVery closely related to Persistent, stateful hover, click, and selection properties and Customized Click, Hover, and Selection Styles or Traces is the ability for users to select one or more points through clicking.
Under the hood, this might just be a new “select” mode (like “Box Select” or “Lasso Select”) that allows users to select and de-select points through clicking. Once clicked, the style of the clicked points would remain persistent.
From a UI perspective, the user would be informed that points are clickable and unclickable through:
cursor: pointer
- customized hover on clickable points like bigger points or an outline or a tooltip
- A persistent or hover-activated “x” for unclicking points.
See this tableau dashboard for an example: https://public.tableau.com/profile/joe3537#!/vizhome/WorldBankIndicator/WorldData
Related to Persistent, stateful hover, click, and selection properties, users should be able to programatically specify which points are selected in order to initialize their graphs with pre-selected data.
cc @alexcjohnson @etpinard @monfera @jackparmer @charleyferrari
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:35 (35 by maintainers)
Top GitHub Comments
Okay, sounds reasonable to me as well. We’re putting in temporary logic in one place and weed out parts of it as soon as
hoverdata
has been harmonized for a special-case trace type. Eventually the detection logic will become clean.This is just the documentation of a team internal discussion. It was about the questions if users should be able to deselect a data point that has already been selected by a box or lasso select.
TL;DR is to make sure that if a user deselects a data point in an existing lasso or box area, this point should stay deselected even if another box or lasso selection take place.
Here’s a screen recording of the current misbehavior in current development state. Watch out for what happens when the last lasso select takes place.
Other options would have been