| mark_style | R Documentation |
This function constructs stylesets with defaults appropriate for the text boxes in the geom_mark_*() family of geoms.
mark_style(
base_size = 10,
background = "white",
color = "black",
header_color = color,
lineheight = 1,
margin = marquee::trbl(grid::unit(2, "mm")),
...
)
base_size |
The base size for the text (depending on the style, some text may be larger, e.g. headings) |
background |
The background color of the textbox |
color |
The text color in the textbox |
header_color |
The text color for headings in the textbox |
lineheight |
The base lineheight for the text in the textbox |
margin |
The margin around the text in the textbox |
... |
Further arguments to pass on to |
A marquee style_set object with a length corresponding to the length of the input
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.