]> git.ipfire.org Git - thirdparty/Chart.js.git/commit
Change `scale.ticks.bounds` to `scale.bounds` (#4595)
authorSimon Brunel <simonbrunel@users.noreply.github.com>
Wed, 2 Aug 2017 05:28:27 +0000 (07:28 +0200)
committerGitHub <noreply@github.com>
Wed, 2 Aug 2017 05:28:27 +0000 (07:28 +0200)
commit15934e49c57d0f0c578ef1ccd7ec9077ac976919
treeddc05711333e4b21bd687d694bad91052e6299d5
parent2c52209ba73cc9b190608319dbba0593f3df455e
Change `scale.ticks.bounds` to `scale.bounds` (#4595)

The `bounds` option makes more sense directly under `scale` since it defines the scale limits strategy when no explicit min/max are specified. Also change the `bounds: 'labels'` option value for `bounds: 'ticks'` because it really means: "ensure ticks to be fully visible in the scale, whatever the ticks `source`.
src/scales/scale.time.js
test/specs/global.deprecations.tests.js
test/specs/scale.time.tests.js