plotly / plotly/plotly.js

[FEATURE]: Allow annotations for scatterternary to reference ternary axes (a,b,c) instead of (x,y)

Offen
#7,971 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

enhancement feature P2 size: 3
Vorherrschende Sprache
JavaScript
Sterne
18.3k
Forks
2k
Ø Merge
2 T. 12 Std.
Gemergte PRs (30 T.)
28

Beschreibung

Hi,

Description

For scatterternary plots, it would great if we could specify the annotation positions relative to the a,b, c axes instead of x and y.

Why should this feature be added?

Currently, we have to convert the annotations a,b, c positions into (arbitrary for this plot type) cartesian coordinate space; it would be easier (and be more logical) to be able to use a,b, c in the annotation declaration, e.g:

annotations: [
  {
    //x: 0.1,
    //y: 0.135,
    a: 10,
    b: 70,
    c: 20,
    text: "my text"
  }
]

Many thanks

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

Beginne damit, die Behandlung von scatterternary-Annotationen und den Pfad der Annotation-Deklaration in plotly.js zu lokalisieren. Prüfe, wie Annotation-Positionen derzeit x und y verwenden, und bestimme anschließend, wie die Koordinaten a, b und c für diesen Plottyp interpretiert werden sollten. Als erledigt gilt die Aufgabe, wenn Annotationen Positionen auf Ternärachsen akzeptieren können, ohne eine kartesische Konvertierung zu erfordern, und eine Abdeckung für das angeforderte Beispiel vorhanden ist.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
javascript
Bereich
data-visualization
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Ruhig
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
48/100

Neue Issues direkt in Ihr Postfach

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