Description Usage Arguments Value
Function that sets custom TPL brand color in continuously-valued plots. Other than customized parameters, it works just like the built-in ggplot layer scale_fill_continuous()
1 | scale_fill_continuous_tpl(color, reverse = F, ...)
|
color |
String that specifies which TPL brand color to use for gradient color scheme. Must be one of 'darkblue', 'teal', 'green', 'yellow', 'orange' |
reverse |
Boolean that assigns the highest values to the lightest hue when set to TRUE (default=FALSE) |
... |
Additional arguments passed to scale_fill_continuous() |
A ggplot layer that fills continuous scales with brand colors
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.