View source: R/set_bar_theme.R
Sets a theme for a barplot
1 2 | set_bar_theme(text_col = "#000000", basesize = 12, legend_col = "#E5E2E0",
legend_pos = "bottom", keysize = 0.7)
|
text_col |
Text colour, defaults to black_seq[8] |
basesize |
Text basesize, defaults to 12 |
legend_col |
legend background colour, default at "#E5E2E0" |
legend_pos |
legend positions, takes a string ("top", "bottom", "right", "left"), or a vector of two numbers between 0 and 1, indicating the relative x and y positions. |
keysize |
size of the legend |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.