| po_theme {d3po} | R Documentation |
Theme
Description
Manually set colors used by D3po for axis/axis-labels/title, tooltips/download menu background, and chart background. This allows you to override page themes (Tabler/Shiny) and force D3po to render with readable contrast.
Usage
po_theme(d3po, axis = NULL, tooltips = NULL, background = NULL)
Arguments
d3po |
Either the output of d3po() or d3po_proxy().
|
axis |
Hex color string for axis lines and axis/label/title fill (e.g. "#fff"). |
tooltips |
Hex color string for tooltip / download menu background (e.g. "#000"). |
background |
Hex color string for chart background (e.g. "#fff"). |
Value
Appends theme settings to an 'htmlwidgets' object