Hello, I use donut chart ng2-charts in angular, I want to add datalabels but nothing seen in canvas.
public doughnutChartOptions: ChartConfiguration['options'] = {
plugins: {
legend: {
display: false
},
datalabels: {
display: true,
color: '#000',
align: 'end',
anchor: 'end',
}
},
}
What can I do?
Hello, I use donut chart ng2-charts in angular, I want to add datalabels but nothing seen in canvas. public doughnutChartOptions: ChartConfiguration['options'] = { plugins: { legend: { display: false }, datalabels: { display: true, color: '#000', align: 'end', anchor: 'end', } }, } What can I do?