Bounding box does not persist
Open
Nobody has claimed this yet.
feature
P3
- Dominant language
- JavaScript
- Stars
- 18.3k
- Forks
- 2k
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 28
Description
Using plotly.js users are able to select and manipulate data; however in all use cases for the application that is currently being developed -- users want to see the area that the mouse has selected in the plots without changing the nature of the individual plot points.
- Users do not want individual data points to change in shape / color / opacity when selected. We have tried many variations on this using Plotly-provided hooks on both the selected AND unselected points but users are steadfast that they do not approve of this workaround.
- One approach we have tried is to make the non-selected data points fade slightly for visual emphasis - however fading them significantly has led to pushback. The users have communicated that the data points NOT selected should remain unchanged.
- Users would like a persistent box that they have drawn around the data points to remain visible on the plot whenever selections are present. This 'bounding box' should remain around the selected markers and behave appropriately when scrolling, zooming in/out, or resizing the graph.
- Consistency would mean an outline as well for the 'draw'/'lasso' selection:
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file, test, or entry point is named. Start by locating Plotly.js selection rendering and the behavior used during scrolling, zooming, and resizing, then determine how a persistent selection outline could be specified and tested for box and lasso selections.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- data-visualization, frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100