echart: Create a Echarts chart widget

Description Usage Arguments

View source: R/echart.R

Description

This function creates a Echarts chart using htmlwidgets. The widget can be rendered on HTML pages generated from R Markdown, Shiny, or other applications.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
echart(
  opt = list(),
  theme = "default",
  width = NULL,
  height = NULL,
  elementId = NULL,
  dispose = TRUE,
  renderer = "canvas",
  ...
)

Arguments

opt

A 'list' object containing options defined as https://echarts.apache.org/zh/option.html.

theme

A ec_theme class object

width

A numeric input in pixels.

height

A numeric input in pixels.

elementId

Use an explicit element ID for the widget.

dispose

Set to TRUE to force redraw of chart, set to FALSE to update.

renderer

Renderer, takes canvas (default) or svg.

...

Any other argument.


jeevanyue/echarter documentation built on Oct. 16, 2020, 5:12 a.m.