]> git.ipfire.org Git - thirdparty/Chart.js.git/commit
New time scale `ticks.bounds` option (#4556)
authorSimon Brunel <simonbrunel@users.noreply.github.com>
Tue, 25 Jul 2017 08:12:53 +0000 (10:12 +0200)
committerGitHub <noreply@github.com>
Tue, 25 Jul 2017 08:12:53 +0000 (10:12 +0200)
commit3aa7a20923d7b528755d5b80aee87cc22796b967
tree5743622860937d03eb72830fb9154f0c1add53f8
parentd07fb284628076518ee15e2240b3eea1456e56ca
New time scale `ticks.bounds` option (#4556)

`ticks.bounds` (`'data'`(default)|`'label'`): `data` preserves the data range while `labels` ensures that all labels are visible. This option is bypassed by the min/max time options.

Remove the useless time scale `_model` object containing private members: instead, make these members private (prefixed by `_`) part of the scale.
src/scales/scale.time.js
test/specs/global.deprecations.tests.js
test/specs/scale.time.tests.js