React + Chart.js 2.0: How to put a label inside of a doughnut chart?
<p>I am doing data visualizations with <code>react</code>, <code>react-chartjs-2</code>, and <code>chart.js</code> version 2.2.1. There is a possibly related answer to this question <a href="https://stackoverflow.com/questions/20966817/how-to-add-text-inside-the-doughnut-chart-using-chart-js">here</a> (look for 17.06.16 update), but I'm not sure what <code>Chart.pluginService.register</code> is or whether it is compatible with React. So far it hasn't worked for me.</p>

<p>I am simply looking to place a label inside the doughnut that is the sum of all <code>data</code> subsets. I assume this is nested somewhere in the <a href="http://www.chartjs.org/docs/#doughnut-pie-chart" rel="nofollow noreferrer">doughnut chart's options</a>, but I haven't found it yet.</p>