This function creates a Echarts chart using htmlwidgets. The widget can be rendered on HTML pages generated from R Markdown, Shiny, or other applications.
1 2 3 4 5 6 7 8 9 10 |
opt |
A 'list' object containing options defined as https://echarts.apache.org/zh/option.html. |
theme |
A |
width |
A numeric input in pixels. |
height |
A numeric input in pixels. |
elementId |
Use an explicit element ID for the widget. |
dispose |
Set to |
renderer |
Renderer, takes |
... |
Any other argument. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.