Shiny bindings for chartjs
1 2 3 | chartjsOutput(outputId, width = "100%", height = "400px")
renderChartjs(expr, env = parent.frame(), quoted = FALSE)
|
outputId |
the widget id in the server part of the application |
width |
the width of the widget |
height |
the height of the widget |
expr |
an R expression that evaluates to a |
env |
the environment in which to evaluate |
quoted |
a boolean, is |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.