Description Usage Arguments Examples
Use eChartOutput() to create a container for a ECharts widget in the
UI, and renderEChart() to render the widget on the server side.
1 2 3  | eChartOutput(outputId, width = "100%", height = "400px")
renderEChart(expr, env = parent.frame(), quoted = FALSE)
 | 
outputId | 
 the output id to be used in the   | 
width | 
 the width of the chart  | 
height | 
 the height of the chart  | 
expr | 
 an R expression to return an EChart widget  | 
env | 
 The environment in which to evaluate   | 
quoted | 
 Is   | 
1 2 3 4 5 6 7 8 9 10 11  | library(recharts)
library(shiny)
app = shinyApp(
  ui = fluidPage(eChartOutput('myChart')),
  server = function(input, output) {
    chart = echart(x = rnorm(100), y = rnorm(100))
    output$myChart = renderEChart(chart)
  }
)
if (interactive()) print(app)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.