All functions |
|
---|---|
A vector of geoms |
|
Grattan chart types |
|
Check that your chart looks alright in the different chart formats |
|
Create the css needed to colour text using ggtext |
|
Assemble a chart featuring the Grattan logo and orange line |
|
Prepare `ggplot2` geom_ defaults |
|
Set default geom aesthetics |
|
Set the default ggplot2 aesthetics to grattan branding |
|
Export the figure environment LaTeX code for a ggplot2 graph object. |
|
Take a ggplot2 object and return a list containing its title, subtitle, and caption. Recognises Patchwork plots. |
|
Create arrows in the Grattan style |
|
|
Ensure your y- and x-axis are Grattan style guide-consistent and doesn't hang off the edge of the chart. |
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
grattan_grey_title |
|
grattan_gridlinegrey |
|
Create labels in the Grattan style - no border, minimal padding |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
grattan_lightyellow |
|
grattan_lightyellow1 |
|
grattan_lightyellow2 |
|
grattan_lightyellow3 |
|
grattan_lightyellow4 |
|
grattan_lightyellow5 |
|
grattan_lightyellow6 |
|
grattan_lightyellow7 |
|
grattan_lightyellow8 |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
Create a Grattan-appropriate palette for your chart. |
|
A list of Grattan colour sets |
|
Predefined grattan colours combined into palettes |
|
Convenience function to create large points with white centres |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
Save plots in Grattan-approved sizes and shapes |
|
Save a ggplot2 chart, or list of charts, as a Powerpoint presentation |
|
Convenient functions to set Grattan-appropriate palettes |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
' |
|
Interpolate a grattan colour palette |
|
Create a grattan colour palette |
|
Set the palette order as needed in the |
|
Make the ANZSIC and ANZSCO classifications Paul-compliant |
|
A list of plot options reflecting the Grattan brand |
|
The vanilla plotting options |
|
Register the option for which palette to use. |
|
Replace a ggplot2's labels (title, subtitle, and/or caption) with a given string. Works for regular ggplot2 plots and patchwork plots. |
|
Return a charter vector of the filepath of the script and powerpoint location |
|
Save a ggplot2 chart as a properly-formatted "chart data" Excel spreadsheet |
|
Scale constructor for grattan colours |
|
Set |
|
Combine multiple PDFs into a single PDF |
|
Create a ggplot2 theme consistent with the Grattan style guide. |
|
Add a watermark annotation layer for a ggplot2 object |
|
Format title, subtitle, and caption of a ggplot2 chart in the Grattan style. |