Added a condition to Pie.js so that donut chart total labels can display the total number without the label if desired. This is set by the flag hideLabel which can be passed as an option to the plotOptions.pie.donut.labels.total. This was motivated by this issue requesting the feature. I was not sure how to go about adding an additional test for this small change, but all existing tests still passed.
New Pull Request
Summary of changes:
Added a condition to Pie.js so that donut chart total labels can display the total number without the label if desired. This is set by the flag hideLabel which can be passed as an option to the plotOptions.pie.donut.labels.total. This was motivated by this issue requesting the feature. I was not sure how to go about adding an additional test for this small change, but all existing tests still passed.
Fixes # 4370
Type of change
Checklist: