[FEATURE]: Allow annotations for scatterternary to reference ternary axes (a,b,c) instead of (x,y)
Dieses Issue hat noch niemand übernommen.
- 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
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Ö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