]> git.ipfire.org Git - thirdparty/Chart.js.git/commit
Fix chart crashing when max is defined but ticks are empty (#9641)
authorKurt Preston <github@kurtpreston.com>
Mon, 4 Oct 2021 17:30:16 +0000 (12:30 -0500)
committerGitHub <noreply@github.com>
Mon, 4 Oct 2021 17:30:16 +0000 (20:30 +0300)
commit60b094a9af087c48f7bfc5ff146f3bbfb29d4add
tree3e52078ca42d57c2c0584376207eb9be5a2bbb19
parent0093b0fca8499074b1bdf6e30cf4e7de4f5649ce
Fix chart crashing when max is defined but ticks are empty (#9641)

* Fix chart crashing when max is defined but ticks are empty

* Adding spec to reproduce scale bounds calculation error

Co-authored-by: Kurt Preston <kpreston@drw.com>
src/scales/scale.linearbase.js
test/specs/scale.linear.tests.js