I am currently struggling with a doughnut chart that is displaying data numbers on the chart segments upon loading, making it appear cluttered. I have attempted to remove these labels using the following code:
Chart.defaults.global.legend.display = false;
However, this only removes the legend and not the actual labels on the chart.https://i.sstatic.net/zUF3F.png
My questions are: 1) How can I clean up the chart by removing these data labels? 2) As shown in the provided image, the chart appears to be cropped on the left and right sides. Despite checking the canvas width and height, there seems to be extra space available. Why is the chart being cropped like this?