echart: Initiate an echart

Description Usage Arguments Examples

View source: R/echarts.R

Description

Initiate an echart graph.

Usage

1
2
3
echart(data, x, width = NULL, height = NULL, elementId = NULL)

echart_(data, x, width = NULL, height = NULL, elementId = NULL)

Arguments

data

data.frame containing data to plot.

x

variable column.

width, height

dimensions of chart.

elementId

id of div containing chart.

Examples

1
2
3
mtcars %>%
  echart(mpg) %>%
  eline(drat)

JohnCoene/echarts documentation built on May 22, 2021, 6:18 p.m.