Ternary plot missing `automargin` option in `layout.ternary`
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
Currently the Ternary plot: https://plotly.com/javascript/ternary-plots/
doesn't have automargin option in each axis in the layout.ternary: https://plotly.com/javascript/reference/layout/ternary/
Therefore, it may happen that the title of the axis is cropped, not only in the case of long titles, but more often due to smaller screen sizes (or figure sizes).
This is more likely for the title text in axes B and C located in the bottom being cropped, e.g.:
Titles are being cropped!
Demo example: https://codepen.io/Lexachoc/pen/MYgVGoW
The title in axis B has no margin to adjust the position and is therefore cropped.
It would be very helpful to add this option (or a similar one to achieve the same thing, avoiding the title text being cropped) to the ternary plot.
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 mit der Referenz zu layout.ternary und den verknüpften Beispielen für ternäre Diagramme und verfolge anschließend, wie Achsentitel und Ränder behandelt werden. Die Arbeit ist abgeschlossen, wenn ternäre Achsen eine automargin-Option oder ein gleichwertiges Verhalten bieten und Titel, insbesondere auf den Achsen B und C, in kleinen Abbildungen nicht mehr abgeschnitten werden.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- javascript
- Bereich
- data-visualization
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 42/100