[BUG]: tickformat doesn't adjust when labels are positioned below minor ticks (because of ticklabelindex)
Offen
@my-tien arbeitet bereits daran.
Seit 05.8.2026.
enhancement
feature
P3
size: 3
- Vorherrschende Sprache
- JavaScript
- Sterne
- 18.3k
- Forks
- 2k
- Ø Merge
- 2 T. 12 Std.
- Gemergte PRs (30 T.)
- 28
Beschreibung
This figure demonstrates the issue:
On the x-axis we have major ticks at daily intervals and minor ticks at 6 hour intervals. Although the labels are moved below minor ticks by setting ticklabelindex: -1, the default tickformat doesn't include hourly information, making the tick label incompatible with the labeled tick:
https://codepen.io/toffi-fee/pen/LExqZNa
In contrast to this, if major ticks are labeled, the tickformat automatically includes hours if the ticks have an hourly period:
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.