how to add percentage value to legend field in pie chart using chart.js
<p>I am using chart.js for developing pie chart. My chart works fine all i need to do is show the percentage at the Legend section for my pie chart. 
Please refer to the following image: [<img src="https://i.stack.imgur.com/fFgw0.png" alt="Chart 1"></p>

<p>I want to show percentage in Legend section (heighlited section).
How can I add the percentage at the legent in pie chart? Or also is it possible to have some chart like below with chart.js:
<a href="https://i.stack.imgur.com/wWZ4y.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wWZ4y.png" alt="enter image description here"></a></p>