]> git.ipfire.org Git - thirdparty/Chart.js.git/commit
Bugfix: span gaps over null values beyond scale limits (#11984)
authorMariss Tubelis <mariss@mariss.no>
Fri, 3 Jan 2025 00:17:24 +0000 (01:17 +0100)
committerGitHub <noreply@github.com>
Fri, 3 Jan 2025 00:17:24 +0000 (19:17 -0500)
commit1e3d6e5711d60ed7f5212b62cfd3a6ce6ff4b503
tree24f04bb8ad4a6bb76d0a71b234777c27d2dbe76e
parent57b5c5b78fb2d8504f556bef6e4177735d9929ea
Bugfix: span gaps over null values beyond scale limits (#11984)

* Bugfix: spanGaps not working near min and max limits

* Fix error when meta.dataset.options = null

* Add tests for correct setting of line controller properties _drawStart and _drawCount

* Fix spacing in controller line tests

* Add tension to test

* Add a better test case

* Avoid the use of FindLastIndex

* Avoid taking 0 for null value and improve naming
src/helpers/helpers.extras.ts
test/specs/controller.line.tests.js