plotly / plotly/plotly.js

Bounding box does not persist

Aperta
#6,702 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

feature P3
Lingua principale
JavaScript
Stelle
18.3k
Fork
2k
Merge medio
2g 12h
PR unite (30g)
28

Descrizione

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.
Screenshot 2023-08-10 at 12 09 37 PM
  • Consistency would mean an outline as well for the 'draw'/'lasso' selection:
Screenshot 2023-08-10 at 12 09 58 PM

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Non viene indicato alcun file, test o punto di ingresso. Inizia individuando il rendering delle selezioni in Plotly.js e il comportamento utilizzato durante lo scorrimento, lo zoom e il ridimensionamento, quindi determina come potrebbe essere specificato e testato un contorno di selezione persistente per le selezioni box e lasso.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
javascript
Ambito
data-visualization, frontend
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
30/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.