[BUG]: period labels can be positioned incorrectly when using ticklabelindex with only one minor tick
Open
Nobody has claimed this yet.
bug
P2
size: 3
- Dominant language
- JavaScript
- Stars
- 18.3k
- Forks
- 2k
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 28
Description
In this figure, the period label 2020 should be positioned below the scatter points of the year 2020 but it is centered between the major ticks:
The correct image would contain a minor tick in the center and the 2020 label between the minor tick and the major tick.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the CodePen reproduction linked in the issue and inspect the period-label behavior when ticklabelindex is used with only one minor tick. Compare the rendered position with the expected placement between the minor and major ticks; done means the 2020 label appears below the 2020 scatter points in that configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100