plotly / plotly/plotly.js

Bounding box does not persist

Offen
#6,702 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

feature P3
Vorherrschende Sprache
JavaScript
Sterne
18.3k
Forks
2k
Ø Merge
2 T. 12 Std.
Gemergte PRs (30 T.)
28

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Es wird keine Datei, kein Test und kein Einstiegspunkt genannt. Beginne damit, das Rendering von Auswahlen in Plotly.js und das Verhalten beim Scrollen, Zoomen und Ändern der Größe zu lokalisieren, und ermittle anschließend, wie ein dauerhaft sichtbarer Auswahlumriss für Box- und Lasso-Auswahlen spezifiziert und getestet werden könnte.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
javascript
Bereich
data-visualization, frontend
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
30/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.