Hi there,
doughnut char labels are not showing properly when there is a smller slice in the chart.
I am trying to use it using the web url. let me share the configuration I am trying here on for reference :
{
type: 'doughnut',
data: {
labels: ['A', 'B', 'C', 'D', 'E', 'F'],
datasets: [{
label: 'Users',
data: [5, 5, 55, 555, 5555, 55]
}]
},
options: {
plugins: {
datalabels: {
display: true,
backgroundColor: '#ccc',
borderRadius: 3,
font: {
color: 'red',
weight: 'bold',
}
},
doughnutlabel: {
labels: [{
text: '550',
font: {
size: 20,
weight: 'bold'
}
}, {
text: 'total'
}]
}
}
}
}
the solutions or response would be very helpfull. thanks.