I'm using react-chartjs2
with chartjs
and the chartjs2-datalabels-plugin
.
I need to display a label with a circular background on top of each bar in my chart.
So far I am able to make the datalabel appear to have a circular background but it only applies for two digit counts. I need it to be dynamic where it will always have a circular background no matter the width of the value.
Here is a sample codesandbox: Simple Bar Graph with labels on top