ggradar icon indicating copy to clipboard operation
ggradar copied to clipboard

Default legend text size too small relative to base text size

Open abidawson opened this issue 7 years ago • 1 comments

Thanks for this package! I noticed when updating the Readme that when using all default arguments, the legend text size is now extremely small by default compared to the rest of the text. Looks like this is because base text size is 20 while default legend text size is 7. Of course users can update the legend text size but might be good to have better matching defaults.

Example and result below:

library(tibble)
mtcars %>%
     rownames_to_column( var = "group" ) %>%
     mutate_at(vars(-group),funs(rescale)) %>%
     tail(4) %>% select(1:10) -> mtcars_radar

g <- ggradar(mtcars_radar)

unnamed-chunk-2-1

abidawson avatar Oct 29 '17 20:10 abidawson

Change the legend.text.size value in the ggradar function.

ggradar(data, legend.text.size = 15)

ilyasustun avatar Mar 06 '18 18:03 ilyasustun