]> git.ipfire.org Git - thirdparty/Chart.js.git/commit
Linear scale with min/max/stepSize set should use all 3 if the range fits (#6966)
authorEvert Timberg <evert.timberg+github@gmail.com>
Sat, 18 Jan 2020 13:35:30 +0000 (08:35 -0500)
committerGitHub <noreply@github.com>
Sat, 18 Jan 2020 13:35:30 +0000 (08:35 -0500)
commitb097fe43c907113e39ec454b806c02dec71e2678
treebc3b2274c5231b737eb0b67eaa3da00622ebe74f
parent95345d01dce5d1967defa2777c0a3d8864137088
Linear scale with min/max/stepSize set should use all 3 if the range fits (#6966)

When (max - min) / stepSize is an integer, we can do a very simple
tick generation method.
src/scales/scale.linearbase.js
test/specs/scale.linear.tests.js
test/specs/scale.radialLinear.tests.js