View source: R/shiny_helpers.R
figsizeInput | R Documentation |
Figure size input
figsizeInput(
id,
label = "Figure size",
choices = c("800x800", "600x600", "600x800", "800x600", "1200x600", "1200x800",
"600x1200", "800x1200", "1200x1200"),
selected = NULL,
custom = TRUE,
...
)
id |
ID of the element |
label |
Label for the input |
choices |
Which figure size choices (in pixels) |
selected |
Default figure size |
custom |
Whether custom fig sizes are allowed |
... |
further arguments passed to selectizeInput |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.