This is my current doughnut chart and I want to show the values of each arc on the arc itself.
This is the configurations of the chart.
const genderConfig={
plugins: {
title: {
display: true,
text: "GENDER",
font: {
size: 20,
},
},
legend: {
labels: {
boxHeight: 20,
boxWidth: 25,
},
position: "bottom",
},
},
}
P.s. I know that there is a very similar question, I already tried the solution mentioned in that thread but I think that solution is not existing anymore to the current version of Chart.js.