chartjs-plugin-datalabels
chartjs-plugin-datalabels copied to clipboard
avoid datalabels overlapping in case of stacked bar chart
In current scenario I am displaying data for 24 hour analysis having range for each hour 0-23. Refer Snapshot. Currently facing two issues in datalabels :
- Display separately in case of low data range in stackedbar
- Avoid overlapping as result range is fixed (24 hour range values from 0-23)
@manhar-developer what would be the expected result in this case? can you share a picture?
I am also experiencing something similar. I tried applying padding and lineHeight but had no success. In this case it should have displayed each label on top of each other in order, but it's overlapping, making the labels unreadable.