You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
Hey, congrats on the 3.0 release! Came across a possible issue with the interaction of the
maxTicksLimit
andmin
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 ifmaxTicksLimit
is increased by one in the example (and has less thanmaxTicksLimit
ticks).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
The text was updated successfully, but these errors were encountered: