[BUG]: tickformat doesn't adjust when labels are positioned below minor ticks (because of ticklabelindex)
未关闭
@my-tien 已经在做这个了。
开始于 2026年8月5日。
enhancement
feature
P3
size: 3
- 主要语言
- JavaScript
- 星标
- 18.3k
- 派生
- 2k
- 平均合并
- 2 天 12 小时
- 30 天内合并 PR
- 28
描述
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:
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
评估
这个 Issue 还没有评估数据。