]> git.ipfire.org Git - thirdparty/Chart.js.git/commit
time type xAxis height crah in line chart 2741/head
authorJack Valuntine <JackValentine@jackarchive.com>
Thu, 9 Jun 2016 04:34:15 +0000 (13:34 +0900)
committerJack Valuntine <JackValentine@jackarchive.com>
Thu, 9 Jun 2016 04:34:15 +0000 (13:34 +0900)
commit7d63bf085ad3e51ad788f1d1d0b85cb73894dccc
tree69bafccb64f06e3f1e75520c606ba9c610a5b620
parent29bc3b0b8bfef02da608abcf22021bb82b04afad
time type xAxis height crah in line chart

if input only one data in dataset and xAxis type is date make offset crash.
check offset value and don't devide 0 value.
Add xAxis check test case.
src/scales/scale.time.js [changed mode: 0644->0755]
test/scale.time.tests.js [changed mode: 0644->0755]