]> git.ipfire.org Git - thirdparty/Chart.js.git/commit
fix: label text not centered when applied rotation (#10773)
authorJonatan <jonatan.martinez_p@yahoo.co.uk>
Mon, 17 Oct 2022 18:28:31 +0000 (20:28 +0200)
committerGitHub <noreply@github.com>
Mon, 17 Oct 2022 18:28:31 +0000 (21:28 +0300)
commitf5cb133551ff0e56061320e8ef2c5ba126faa94e
treef51a9834a2711e149b03b5a83dd2f0ff45eb966c
parent3ecda1c7c55e7b884da32dd058220aa3165bf3e2
fix: label text not centered when applied rotation (#10773)

* fix: label text not centered on tick when rotated

#10485

* fix: label text not centered on tick when rotated

#10485
19 files changed:
src/core/core.scale.js
test/fixtures/core.layouts/refit-vertical-boxes.png
test/fixtures/core.scale/autoSkip/fit-after.png
test/fixtures/core.scale/label-align-inner-rotate.png
test/fixtures/core.scale/ticks/rotated-long.png
test/fixtures/core.scale/ticks/rotated-multi-line.png
test/fixtures/scale.linear/min-max-skip/no-collision.png
test/fixtures/scale.linear/min-max-skip/rotated-case-1.png
test/fixtures/scale.linear/min-max-skip/rotated-case-2.png
test/fixtures/scale.linear/min-max-skip/rotated-case-3.png
test/fixtures/scale.linear/min-max-skip/rotated-case-4.png
test/fixtures/scale.linear/rotated-45.png
test/fixtures/scale.linear/rotated-5.png
test/fixtures/scale.linear/rotated-85.png
test/fixtures/scale.time/labels-date.png
test/fixtures/scale.time/labels-strings.png
test/fixtures/scale.time/offset-auto-skip-ticks.png
test/fixtures/scale.time/ticks-round.png
test/specs/core.scale.tests.js