Hey, congrats on the 3.0 release! Came across a possible issue with the interaction of the maxTicksLimit and min options.
Expected Behavior
Even tick spacing (like in Chart.js 2)
Current Behavior
Uneven tick spacing
Steps to Reproduce
https://codepen.io/ankane/pen/LYxyXEN
There's even spacing when the min option is removed (and has the same min value in the example). There's also even spacing if maxTicksLimit is increased by one in the example (and has less than maxTicksLimit ticks).
Noticed this with both bar and line charts.
Context
Ran into this trying to upgrade Chartkick to Chart.js 3
Environment
- Chart.js version: 3.0.1
- Browser name and version: Firefox 87.0
Edit: Also, it's probably on your list, but the Codepen in the new issue template could use upgrading to Chart.js 3
Hey, congrats on the 3.0 release! Came across a possible issue with the interaction of the
maxTicksLimitandminoptions.Expected Behavior
Even tick spacing (like in Chart.js 2)
Current Behavior
Uneven tick spacing
Steps to Reproduce
https://codepen.io/ankane/pen/LYxyXEN
There's even spacing when the
minoption is removed (and has the same min value in the example). There's also even spacing ifmaxTicksLimitis increased by one in the example (and has less thanmaxTicksLimitticks).Noticed this with both bar and line charts.
Context
Ran into this trying to upgrade Chartkick to Chart.js 3
Environment
Edit: Also, it's probably on your list, but the Codepen in the new issue template could use upgrading to Chart.js 3