sets_sizing | R Documentation |
Sets sizing parameters for the Smallset Timeline.
sets_sizing(
captions = NULL,
columns = NULL,
data = NULL,
icons = NULL,
legend = NULL,
resume = NULL,
tiles = NULL
)
captions |
Positive numeric value for caption text size. Default is 3. |
columns |
Positive numeric value for column name text size. Default is 3. |
data |
Positive numeric value for printed data text size. Default is 2. |
icons |
Positive numeric value for legend icon size. Default is 1. |
legend |
Positive numeric value for legend text size. Default is 10. |
resume |
Positive numeric value for resume marker size. Default is 1. |
tiles |
Positive numeric value for Smallset tile size. Default is .2. |
Passed to sizing
in Smallset_Timeline.
Returns a list with seven elements (the sizing parameters).
# increase size of caption text
# and add more caption space, so larger caption text fits
Smallset_Timeline(
data = s_data,
code = system.file("s_data_preprocess.R", package = "smallsets"),
sizing = sets_sizing(captions = 4),
spacing = sets_spacing(captions = 4)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.