PrimeNG and ChartJS - Show chart label or tooltip inside arc of pie / doughnut chart
Posted: 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.
I expect show a Pie Chart like:
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'
}
};