plotly / plotly/plotly.js

add a way to indicate when a point is off the scale

Offen
#6,759 2 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

New feature request: it would be great if there were a way to hint when a point is off the scale.

  • With bars, it's already possible - the top of the bar has no border. However, this is quite subtle, and perhaps it could be made more obvious that it's truncated, e.g. by making the top few mm of the left and right edges end with dashes and an arrow-tip.
  • With bubbles/scatter points (that are not connected by lines), there is no way to see that a bubble is too high (rather than being omitted because the point is null).
  • This is particularly problematic when the user has manually set the y-axis range, and has cut off a point. (in auto-range mode, points are never missed out).

This might be indicated by showing a "^" at the top of the paper pointing to where the point would be. (such a symbol should also get the hover-text of the associated point).

These indicators should be dynamic - as the axis is zoomed and scrolled. Maybe we need a pref (default on) to turn this off?

Thanks for your consideration - I hope the idea is useful.

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

Im Issue werden keine Dateien oder Tests genannt. Beginne damit, die Rendering-Pfade für bar und scatter/bubble zusammen mit den Aktualisierungen von Achsen-Zoom und -Scrollen nachzuverfolgen; als abgeschlossen gilt die Aufgabe, wenn abgeschnittene Punkte klare, dynamische Indikatoren mit zugehörigem Hover-Text haben, während Nullpunkte weiterhin unterscheidbar bleiben.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
javascript
Bereich
data-visualization
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.