question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Persistent and Multiple Clicking and Unclicking Behaviour

See original GitHub issue

Very 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

image

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:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:35 (35 by maintainers)

github_iconTop GitHub Comments

2reactions
rmoestlcommented, Jul 5, 2018

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.

2reactions
rmoestlcommented, Jun 15, 2018

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.

plotlyjs-1852-deselect-by-click

Other options would have been

  1. to not allow to deselect a data point already selected through box or lasso
  2. to purge all box an lasso polygons when a use selects by click, but keep all previously selected points selected
Read more comments on GitHub >

github_iconTop Results From Across the Web

Why is my mouse randomly deselecting and unclicking?
Different behavior while using the mouse in different ways might cause misclicks.
Read more >
Mac Mouse Double-Clicking Instead of Single ... - OSXDaily
Sometimes erroneous click behavior can be due to an actual hardware problem with the mouse or trackpad, as well.
Read more >
Why We Don't Click: Interrogating the Relationship Between ...
We find that use motivations and Facebook feed content are significant predictors of click behavior but measures of overall use, such as network...
Read more >
Is there a way to clear clickData? - Dash Python
... it is not possible to clear the click and show the entire plot ... above (Persistent and Multiple Clicking and Unclicking Behaviour ......
Read more >
Anyone else's Mouse double clicking inste… - Apple Community
When I single click my mouse it frequently double clicks and is ****ing ... or to check a box (the instant double click...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found