View source: R/utilities-legend.R
setLegendFont | R Documentation |
Set legend font properties
setLegendFont(
plotObject,
color = NULL,
size = NULL,
fontFamily = NULL,
fontFace = NULL,
angle = NULL,
align = NULL
)
plotObject |
ggplot object |
color |
character defining the color of legend font |
size |
numeric defining the size of legend font |
fontFamily |
character defining the family of legend font |
fontFace |
character defining the legend font face as defined in helper enum |
angle |
numeric defining the angle of legend font |
align |
character defining the alignment of legend font as defined in helper enum |
A ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.