echart: Echarts

Description Usage Examples

Description

Generates echarts in R environment.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
echart(type = NULL, subtype = NULL, data = NULL, x = NULL, y = NULL,
  x.type = "category", y.type = "value", links = NULL, group = NULL,
  size = NULL, color = NULL, map = NULL, opt.timeline = NULL,
  calculable = TRUE, title = NULL, subtitle = NULL, show.title = TRUE,
  line.smooth = TRUE, tree.depth = 1, item.label = NULL, aggs = "sum",
  breaks.hist = NULL, show.label = FALSE, what.label = "value",
  pos.label = NULL, hover.label = FALSE, show.tooltip = TRUE,
  items.toolbox = NULL, show.datazoom = FALSE, target.tooltip = "item",
  show.toolbox = TRUE, orient.toolbox = "vertical", disable.zoom = TRUE,
  slider = NULL, avg.markline = FALSE, markline = NULL,
  label.markline = NULL, markpoint = NULL, xmarkarea = NULL,
  ymarkarea = NULL, opt.gauge = NULL, show.legend = TRUE, focus = NULL,
  edges = NULL, prefix = NULL, decimals = NULL, depth = 1,
  map.selected = FALSE, color.scale = NULL, print.json = FALSE,
  width = NULL, height = NULL, ...)

Examples

1
2
3
4
5
6
7
8
# Example I
# Data
d <- data.frame(
 "Year" = seq(1997,2036,1),
 "Sales" = runif(20, min = 2, max = 10)*1e+03
  )
# Simple bar
echart(type="bar",data=d,x='Year',y='Sales')

lemaufpb/ECShiny documentation built on July 20, 2018, 3:37 p.m.