Pierre
74961d1c86
Add selfJoin option for doughnut graphs ( #12054 )
...
Co-authored-by: Pierre Gueguen <gueguenpierre.pro@gmail.com >
2025-04-15 15:32:13 +02:00
stockiNail
7f9bca6844
Add borderDash options to arc element ( #11127 )
2023-02-12 17:46:05 -05:00
Richard Gibson
89487501b6
fix: Always draw full arcs and borders for doughnut slices ( #10806 )
...
* test: Add a failing test for single-slice doughnut with offset
* fix: Always draw full arcs and borders for doughnut slices
Fixes #10801
* test: Update existing image
2022-11-12 21:47:08 +02:00
Ivan Gamboa Ultreras
9ab50e6313
Fix offset on doughnut charts ( #10469 )
...
Fix offset on doughnut charts
2022-08-03 20:27:17 +03:00
Jukka Kurkela
cd9d5289a4
Add borderJoinStyle option for arc elements ( #9877 )
...
* Add borderJoinStyle option for arc elements
* docs + types
* Consistently enumerate the possible choices
2021-12-05 08:56:37 -05:00
Jukka Kurkela
0dc733a96c
Configure all datasets before updating any ( #9872 )
...
* Update misleading sample comment
* Configure all datasets before updating any
2021-11-18 00:09:25 +02:00
Evert Timberg
71fa55acac
Add parsing support to pie/doughnut charts ( #9622 )
2021-09-05 13:46:26 -04:00
Jukka Kurkela
cf951ac611
Add ability to hide specific data element ( #9450 )
2021-07-21 07:08:02 -04:00
Jukka Kurkela
22c02ede02
Fix updating of active elements ( #9261 )
2021-06-12 14:19:33 -04:00
Evert Timberg
c853ca6942
Allow setting a constance spacing between arc elements ( #9180 )
2021-05-29 17:47:44 -04:00
Jukka Kurkela
7265bb51d5
Update chartjs-test-utils and mis-sized fixtures ( #9135 )
2021-05-20 14:59:55 +03:00
Jukka Kurkela
939ffe02ab
Fix arc offset calculation ( #9118 )
2021-05-18 19:24:57 -04:00
Jukka Kurkela
a553d57033
Fix doughnut rotation on float edge cases ( #9121 )
2021-05-18 19:24:23 -04:00
Evert Timberg
6f6b1b2d17
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
2021-04-03 07:58:51 -04:00
Jukka Kurkela
9fb18c2fd7
Fix typo, add tests to catch ( #8768 )
...
* Fix typo, add tests to catch
* Tune tests
2021-04-01 11:11:14 -04:00
Jukka Kurkela
f1810586f7
Pie: Fix last slice animation and NaN handling ( #8760 )
...
* Pie: Fix last slice animation and NaN handling
* Add tests
* Fix polarArea
2021-03-31 15:25:25 -04:00
Jukka Kurkela
b2c7baf10d
Avoid recursive event replay loops ( #8738 )
...
* chart._lastEvent = null while processing onHover
* Pass replay flag to external tooltip
* Add test for replay
* cc
2021-03-27 06:11:51 -04:00
Jukka Kurkela
b06cd36697
Rename cutoutPercentage to cutout + chores ( #8514 )
2021-02-24 16:58:01 -05:00
Jukka Kurkela
65bfacd9a5
Add outerRadius option to doughnut/pie ( #8487 )
2021-02-21 17:30:37 -05:00
Jukka Kurkela
e8f954249a
Update doughnut animation fixture ( #8457 )
2021-02-18 18:04:48 -05:00
Jukka Kurkela
b468bffa9b
Add test for default doughnut animations ( #8446 )
2021-02-17 15:42:38 -05:00
Jukka Kurkela
ddfbcf777a
Update eslint-config-chartjs to v0.3.0 ( #8406 )
2021-02-10 08:21:39 -05:00
Jukka Kurkela
021561072b
Disable all plugins when options.plugins = false ( #8098 )
...
Disabling all plugins when options.plugins = false
2020-11-23 17:58:03 -05:00
Evert Timberg
df0b79b9cc
JS test files should have tabs to correctly lint ( #7844 )
2020-10-04 07:49:14 -04:00
Evert Timberg
9b204eb278
Enable per-dataset circumference and rotation for pie/doughnut charts ( #7833 )
...
* Enable per-dataset circumference and rotation for pie/doughnut charts
* Convert `circumference` and `rotation` options to degrees
2020-10-03 16:47:39 -04:00
Jukka Kurkela
c02acaf272
Arc: Stop drawing anything when hidden ( #7438 )
...
* Arc: Stop drawing anything when hidden
* Cleanup
2020-05-28 17:35:38 -04:00
Akihiko Kusanagi
4f722ab619
Fix arc size calculation when circumference is under 2PI ( #6224 )
2019-05-01 18:05:34 +02:00
Jukka Kurkela
1a2a87be3b
Fix arc border with circumference over 2*PI ( #6215 )
2019-04-30 11:34:10 +02:00
Vincent-Ip
93f4e6e4e8
New weight option for pie and doughnut charts ( #5951 )
...
Add functionality to give pie & doughnut datasets a weight attribute, which affects the relative thickness of the dataset when there are multiple datasets in pie & doughnut charts. The default weight of each dataset is 1, providing any other numerical value will allow the pie or doughnut dataset to be drawn with a thickness relative to its default size.
For example a weight of 2 will allow the dataset to be drawn double its typical dataset thickness. Note that the weight attribute will only affect a pie or doughnut chart if there is more than one visible dataset. Using weight on a pie or doughnut dataset when there is only one dataset on the chart will have no affect.
2019-02-27 23:06:54 +01:00
Evert Timberg
e1ed26f315
Implement scriptable options for doughnut charts ( #5966 )
2019-01-10 16:00:36 +01:00
Akihiko Kusanagi
db8f6c38dc
Add support for 'inner' border for arc elements ( #5841 )
2018-12-18 13:58:02 +01:00