How to put percentage to a pie with chartjs?

Create a project in React and add these dependencies:

enter image description hereยด

enter image description here

The hover of the diagram works, but I want the percentage to appear in each section so that it can be downloaded, what options do I add, I already tried with datalabels and tooltip, but it doesn’t work for me.

This is my diagram:

<Pie ref={chart} data={dataDiagram} options={} />

I already tried many things but it doesn’t work.