Description Usage Arguments Examples
Create an HTML widget for ECharts that can be rendered in the R console, R
Markdown documents, or Shiny apps. You can add more components to this widget
and customize options later. eChart()
is an alias of echart()
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | echart(data, ...)
## S3 method for class 'list'
echart(data, width = NULL, height = NULL, ...)
## S3 method for class 'data.frame'
echart(data = NULL, x = NULL, y = NULL, series = NULL,
type = "auto", width = NULL, height = NULL, ...)
## Default S3 method:
echart(data = NULL, x = NULL, y = NULL, series = NULL, type = "auto",
width = NULL, height = NULL, ...)
eChart(data, ...)
|
data |
a data object (usually a data frame or a list) |
x |
the x variable |
y |
the y variable |
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.