[FEATURE]: Setting `itemheight` (analogous to `itemwidth`) to increase height of fill in legend
@MannXo arbeitet bereits daran.
Seit 28.7.2026.
- Vorherrschende Sprache
- JavaScript
- Sterne
- 18.3k
- Forks
- 2k
- Ø Merge
- 2 T. 12 Std.
- Gemergte PRs (30 T.)
- 28
Beschreibung
Description
Please consider adding layout.legend.itemheight setting (similar to current layout.legend.itemwidth)
For plots with a fillpattern applied, it would be great if we could increased the height of the corresponding legend item so that more of the fill pattern was visible.
Why should this feature be added?
Currently, the fillpattern is only 6 pixels high (I think), but if we could make it higher then more of the pattern would be visible.
Mocks/Designs
The current legend item height:
Setting the svg path to v12 shows more of the pattern fill and makes the regions more easily identifiable (my vertical alignment is off, but hopefully the concept is clear enough).
Best regards
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.
Bewertung
Dieses Issue wurde noch nicht bewertet.