Use rHighchart charts as Shiny output. First, use
renderChart
in server.R
to assign the chart
object to an Shiny output. Then create an chartOutput
with the same name in ui.R
. chartOutput
is
currently just an alias for htmlOutput
.
1 | renderChart(expr, env = parent.frame(), quoted = FALSE)
|
expr |
An expression that returns a chart object |
env |
The environment in which to evaluate
|
quoted |
Is expr a quoted expression (with
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.