]> git.ipfire.org Git - thirdparty/Chart.js.git/commit
Better default tick rotation and tick autoskip settings (#2258)
authorTanner Linsley <tannerlinsley@gmail.com>
Sat, 16 Apr 2016 22:38:03 +0000 (17:38 -0500)
committerTanner Linsley <tannerlinsley@gmail.com>
Sat, 16 Apr 2016 22:38:03 +0000 (17:38 -0500)
commit4f60eecc019841e40aee623509f61ce04820965a
tree16017b12f9240fc30d3da15ddcd0556a879531e0
parent1be88df8136e90b326359ca355a26c14fd6ad85f
Better default tick rotation and tick autoskip settings (#2258)

* Better default tick rotation and tick autoskip settings

* scale.time: Use ctx to measure label, and <= instead of < for unit fitting

* Test Changes

* Passing Tests with new defaults
src/core/core.scale.js
src/scales/scale.time.js
test/controller.bar.tests.js
test/controller.line.tests.js
test/core.helpers.tests.js
test/core.layoutService.tests.js
test/scale.category.tests.js
test/scale.linear.tests.js
test/scale.logarithmic.tests.js
test/scale.radialLinear.tests.js
test/scale.time.tests.js