Support control over gaps between outer layers of multicategory axes
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
Adding additional whitespace padding between outer layers of a multicategory axis can improve the legibility of visualizations in many use cases, particularly when the emphasis is on making comparisons within outer-layer categories or between outer-layer categories (not just across all units).
Should be compatible with #2175.
Original discussion of such a feature:
Indeed, I've been pondering if there's a way to improve that. Certainly showing gridlines for the outer category only would help. Trying to think through an analog of
bargap/bargroupgap, ie to give a bigger gap at the outer category boundary... but it seems tough to square that with the ticks & gridlines. Also would probably be a major headache to implement, as the spacing between categories would no longer be constant.
Originally posted by @alexcjohnson in https://github.com/plotly/plotly.js/issues/2799#issuecomment-442243851
Hi is there support for something similar to bargap and bargroupgap with multicategory axes? The goal would be to have a different gaps between bars of an outer category and bars of an inner category. Thanks ! Any other way to achieve this would be helpful :)
Originally posted by @elmadj in https://github.com/plotly/plotly.js/pull/3300#issuecomment-575856796
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
Beginnen Sie mit der Prüfung der Kompatibilitätsanforderung in #2175 und der verlinkten Diskussionen in #2799 und #3300. Verfolgen Sie anschließend das bestehende Verhalten der multicategory-axis sowie die zugehörigen Optionen bargap und bargroupgap; als abgeschlossen gilt die Aufgabe, wenn die Abstände der äußeren Ebene gesteuert werden können, ohne Ticks, Gridlines oder das bestehende Abstandsverhalten zu beeinträchtigen.
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
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100