Label inside donut chart
Hi,
I would like to be able to add a label inside a donut chart like this charts

Thks
me too +1
+1
+1
+1
+1
Would putting this data in an HTML absolutely positioned element over the top of the doughnut not be a better solution than adding more to chart.js to achieve this?
+1
It's fairly easy to do this with HTML, but it would be nice if the chart exposed some sort of event API to hook into to populate the value.
+1
+1
+1
Although, as well as a label I think it would also be good to have it auto add the sum-total of the data put in, or the data type etc
I may work on a way to pass this in if I get the chance this week, though doing the total automatically shouldn't be too much of a stretch.
+1
is there any option to write label for each section?
+1
Yes, this can be accomplished easily with HTML, but I would love to see something like this implemented into the core.
+1
+1
+2
+3
-1 I think the HTML approach is better. The label will only make sense inside the canvas if it is very small.
I would consider these to be a special-purpose of pie chart: single value pie charts with label in the middle.
Recommending implementation should be outside chart.js
@fulldecent The advantage to having a label/legend built into the chart is that the user can take the image itself and use it in another doc or presentation without having to re-create the legend. In fact, for my users, this is an absolute requirement - a chart without a legend is useless to them. Whether that should be within the scope of chart.js is debatable, but I would guess there are many devs that would agree with me on this one. I could be wrong though.