This function removes standard item legends and adds circular legend items mapper to aes(color). Note that if aes(fill) is also mapped, 'guide=FALSE' must be added to to scale_fill_XX.
1 | circularLegends(g = g)
|
g |
A ggplot object. Defaults to g |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.