Expected Behavior
specified tick count matches the displayed tick count
Current Behavior
some ticks disappear, though there is no collision and a tick count has been specified
Possible Solution
caused by pull request #8983
Three options I thought of:
- consider tick rotation in formula to prevent tick collision
- ignore tick collision code when ticks.count is specified
- create an option to disable the tick collision code
Steps to Reproduce
https://codepen.io/pen/?template=jOBNLBR
Toggle the external Chart.js script between 3.2.0 and 3.2.1
Chart should have 6 tick marks. With Chart.js 3.2.1, the 2nd and 5th are not displayed
Context
Tick marks are not consistently spaced (looking broken), and flicker when using zoom-plugin / panning
Environment
- Chart.js version: 3.2.1
- Browser name and version: Chrome 90
- Link to your project: not published