theme_nhsbsa_hc | R Documentation |
Theme an NHSBSA highcharter plot. We would like to take several steps to brand a standard highcharter plot to an NHSBSA looking chart. These include:
Make the font of any text "TT Arial" or another family
parameter.
Colour any text NHS Black
Colour background NHS White
Make the title and axis titles bold
Move the legend to the top and set the hover colour to NHS Mid Grey
Colour axis ticks and lines NHS Mid Grey
Remove yaxis gridlines (x axis has no gridlines by default)
Add credits (Note: Not working at the moment)
theme_nhsbsa_hc(family = "TT Arial")
family |
String font family to use (this must be installed and loaded). Default value is "TT Arial" |
hc_theme object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.