PrimeNG and ChartJS - Show chart label or tooltip inside arc of pie / doughnut chart

UI Components for Angular
Post Reply
rcosta
Posts: 9
Joined: 13 Dec 2016, 22:43

18 Jan 2019, 13:31

I have a doughnut chart from chartjs of PrimeNG and I want show his label inside arc of it, as percentage.

I tried use the chartjs-plugin-labels, but doesn't work for me. My code for chart options is below.

Code: Select all

{
   legend: {
   position: 'right'
   }
 };
I expect show a Pie Chart like:

Image

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 6 guests