How to plot a legend with many names so that some of them don't get cut

In a groupedbar plot, I am trying to plot the legend for a list of 30 stock names. However, using Plots, some of the bottom names in the list (e.g. WMT) do not show up in the plot legend.


How may I slightly “compress” the legend so that all stock names appear there?
Thank you in advance!

You could try lowering the legend font size, but I don’t know if that will do anything to the boxes. You might also question the usefulness of that legend: that’s a lot of different categories, many of which have indiscernible colors. There is no way you could group them?

1 Like

Yes, lowering the legend font size resizes the legend box. Thank you!