The scale_*_co() functions provide a way to easily apply a colour from the CO corporate palette to a chart, the take a single colour name and apply tints of that colour to the relevant series (colour/fill).
Usage
scale_colour_co(..., colour, direction = 1, show.na = FALSE)
scale_fill_co(..., fill, direction = 1, show.na = FALSE)
Arguments
- ...
Other arguments passed to discrete scale
- colour
A colour name from
co_colours()
for scale_colour_co()- direction
The direction of the scale
- show.na
Whether to show NA values
- fill
A colour name from
co_colours()
for scale_fill_co()