waffle icon indicating copy to clipboard operation
waffle copied to clipboard

removing legend from the waffle chart

Open am2222 opened this issue 5 years ago • 1 comments

Hi, Is there any method to remove legend from the chart?

am2222 avatar Feb 13 '20 19:02 am2222

You can simply add theme(legend.position = "none"); here's a small reproducible example:

waffle(c(one = 1, two = 10, three = 4), rows = 3) + 
        theme(legend.position = "none")

example

mevers avatar Jul 27 '20 04:07 mevers