I created a line chart using ggplot. I want to increase the vertical spacing between my legend items (text and symbols)
I found this about this problem. However, isn't there a more simple (i.e. without writing a function) solution to this problem?
I tried the command legend.spacing.y
but that only moves the entire legend up and down and not the spacing between the items.
Also, I tried:
theme(legend.text = element_text(margin = margin(t = 1, unit = "cm"))))
However, this only moves the text and not the items.
Could anybody please help?
Thanks!