]> git.ipfire.org Git - thirdparty/Chart.js.git/commit
Doughnut/Pie chart border radius (#8682)
authorEvert Timberg <evert.timberg+github@gmail.com>
Sat, 3 Apr 2021 11:58:51 +0000 (07:58 -0400)
committerGitHub <noreply@github.com>
Sat, 3 Apr 2021 11:58:51 +0000 (07:58 -0400)
commit6f6b1b2d1774e6050c169421de72e320b68978f1
treed75139c44bbc2347a9e79a2018504c570a655001
parent96dd2010288e674b889023866d595e584f1ae875
Doughnut/Pie chart border radius (#8682)

* Arc with rounded ends implementation
* End style option
* Working border radius implementation for arcs
* Linting
* Fix bug introduced when converting to new border object
* Fix bugs identified by tests
* Arc border radius tests
* Add test to cover small borderRadii
* Reduce the weight of the arc border implementation
* lint fix
12 files changed:
docs/charts/doughnut.md
src/elements/element.arc.js
src/helpers/helpers.options.js
test/fixtures/controller.doughnut/borderRadius/scriptable.js [new file with mode: 0644]
test/fixtures/controller.doughnut/borderRadius/scriptable.png [new file with mode: 0644]
test/fixtures/controller.doughnut/borderRadius/value-corners.js [new file with mode: 0644]
test/fixtures/controller.doughnut/borderRadius/value-corners.png [new file with mode: 0644]
test/fixtures/controller.doughnut/borderRadius/value-large-radius.js [new file with mode: 0644]
test/fixtures/controller.doughnut/borderRadius/value-large-radius.png [new file with mode: 0644]
test/fixtures/controller.doughnut/borderRadius/value-small-number.js [new file with mode: 0644]
test/fixtures/controller.doughnut/borderRadius/value-small-number.png [new file with mode: 0644]
types/index.esm.d.ts