Output and render functions for using charter within Shiny applications and interactive Rmd documents.
1 2 3 4 5 6 7 8 9 | charterOutput(outputId, width = "100%", height = "400px")
renderCharter(expr, env = parent.frame(), quoted = FALSE)
render_charter(expr, env = parent.frame(), quoted = FALSE)
charterProxy(id, session = shiny::getDefaultReactiveDomain())
charter_proxy(id, session = shiny::getDefaultReactiveDomain())
|
outputId |
output variable to read from |
width, height |
Must be a valid CSS unit (like |
expr |
An expression that generates a charter |
env |
The environment in which to evaluate |
quoted |
Is |
id |
Id of chart to build a proxy from. |
session |
A valid Shiny session. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.