Output and render functions for using echarts within Shiny applications and interactive Rmd documents.
1 2 3 4 5 | echartsOutput(outputId, width = "100%", height = "400px")
renderEcharts(expr, env = parent.frame(), quoted = FALSE)
echartsProxy(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 echarts |
env |
The environment in which to evaluate |
quoted |
Is |
id |
target chart id. |
session |
shiny session |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.