Man pages for department-for-transport/dftplotr
Functions to Produce Charts in the DfT Style

dft.gradientsList of start and end colours for DfT gradient palettes
dft.palettesNamed hex colour palettes using DfT colours
display_paletteDisplays a visual colour chart of a selected palette
extract_coloursExtract named palette colours as hex codes
extract_gradientExtract gradient of n colours as hex codes based on DfT...
label_numberLabel numbers in decimal format (e.g. 0.12, 1,234)
numberA low-level numeric formatter
round_anyRound to multiple of any number.
scale_all_dftExtract named palette colours as hex codes
scale_colour_dftExtract named palette colours as hex codes for use in line...
scale_fill_dftExtract named palette colours as hex codes for use in area...
theme_bar_dftApplies a standardised DfT theme to a ggplot bar plot
theme_general_dftDisplays a visual colour chart of a selected palette
theme_line_dftApplies a standardised DfT theme to a ggplot line plot
department-for-transport/dftplotr documentation built on April 3, 2024, 3:55 p.m.