]> git.ipfire.org Git - thirdparty/Chart.js.git/commit
Fix initial dataset stacks (#11882)
authorJacco van den Berg <jaccoberg2281@gmail.com>
Mon, 26 Aug 2024 15:13:12 +0000 (17:13 +0200)
committerGitHub <noreply@github.com>
Mon, 26 Aug 2024 15:13:12 +0000 (17:13 +0200)
commit680cd227d42ea1b9e7acb9d1b5e81900104f257b
tree9b5b8c2fb473e531ad4aefdf887ad9cdff66239f
parentdd554e0d87fc525c2a4efcecead9cc3c280936f4
Fix initial dataset stacks (#11882)

* Update cahced _stacked value after updating stacks

* Add test

---------

Co-authored-by: Jacco van den Berg <jacco@jem-id.nl>
src/core/core.datasetController.js
test/fixtures/core.datasetController/stacked-initial-render.js [new file with mode: 0644]
test/fixtures/core.datasetController/stacked-initial-render.png [new file with mode: 0644]
test/specs/core.datasetController.tests.js