chartjs-plugin-datalabels icon indicating copy to clipboard operation
chartjs-plugin-datalabels copied to clipboard

avoid datalabels overlapping in case of stacked bar chart

Open manhar-developer opened this issue 6 years ago • 2 comments

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 :

  1. Display separately in case of low data range in stackedbar
  2. Avoid overlapping as result range is fixed (24 hour range values from 0-23) stackbarchart

manhar-developer avatar Aug 14 '18 05:08 manhar-developer

@manhar-developer what would be the expected result in this case? can you share a picture?

simonbrunel avatar Nov 14 '18 21:11 simonbrunel

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.

Screenshot from 2020-06-25 17-29-36

williammu6 avatar Jun 25 '20 20:06 williammu6