Readability of legends in a chart

Hi. I’m making a dashboard using charts. Since I have many items to show, the legends don’t fit neatly, and the associated name of each bar in the chart can’t be read. (as seen in the image)

Is there any solution for this?
Thanks

You might have to use Quickcharts or Chart.js to customize it.