View source: R/dnrec_scale_fill.R
| dnrec_scale_fill | R Documentation |
DNREC Brand Colors fill scale
dnrec_scale_fill(palette = "brand", alpha = 1, ...)
palette |
Palette name. Brand, secondary, tertiary, extended or mix. |
alpha |
Numeric transparency value from 0 to 1. |
... |
Additional arguments |
ggplot(iris, aes(Species, fill=Species))+
geom_histogram(stat="count")+dnrec_scale_fill()
ggplot(iris, aes(Sepal.Length, fill=Species))+
geom_histogram()+dnrec_scale_fill(palette="mix")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.