View source: R/timeseries_style.R
add_style_wrapper | R Documentation |
add_style_wrapper()
adds a style for use within timeseries_style()
,
where the font color and decoration needs to vary based on data type. Wraps
around openxlsx::addStyle()
and openxlsx::createStyle()
.
add_style_wrapper(wb, sheet_name, rows, cols, fontColour, textDecoration)
wb |
a |
sheet_name |
character name of the sheet to update |
rows |
Rows to apply style to, passed to |
cols |
Columns to apply style to, passed to |
fontColour |
Font colour, passed to |
textDecoration |
Font decoration, passed to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.