chartjs/chartjs-plugin-datalabels

Don't shown datalabels

fuadsadiqov opened this issue · 1 comments

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?

What can I do?

Provide a better description and a codepen that reproduces this issue.