Apply custom theme
1 2 3 4 5 6 7 | dfr_theme(
text_size_base = 12,
text_color_primary = "#757575",
axis_line_color = "#E0E0E0",
line_size_base = text_size_base/22,
plot_margin = 0.25
)
|
text_size_base |
The base text size in points (pt). Defaults to 12 pts. |
text_color_primary |
The text color. Defaults to #757575, except for plot title and caption. |
axis_line_color |
The axis line color. Defaults to #E0E0E0. |
line_size_base |
The base size for lines. |
plot_margin |
The base size for plot margins on the top, right, bottom and left sides in cm. Defaults to 0.25 cm. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.