Output and render functions for using 'rPackedBar' within 'shiny' applications and interactive Rmd documents.
1 2 3 4 | packedBarOutput(outputId, width = "100%", height = "400px",
inline = FALSE, clickedBarInputId = paste0(outputId, "_clicked"))
renderPackedBar(expr, env = parent.frame(), quoted = FALSE)
|
outputId |
output variable to read from |
width, height |
Must be a valid CSS unit (like |
inline |
use an inline (span()) or block container (div()) for the output |
clickedBarInputId |
The input id to assign the label of the clicked bar.
Defaults to |
expr |
An expression that generates an rPackedBar. |
env |
The environment in which to evaluate |
quoted |
Is |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.