Learn R Programming

echarts4r (version 0.2.0)

e_area: Area

Description

Add area serie.

Usage

e_area(e, serie, bind, name = NULL, legend = TRUE, y_index = 0,
  x_index = 0, ...)

e_area_(e, serie, bind = NULL, name = NULL, legend = TRUE, y_index = 0, x_index = 0, ...)

Arguments

e

An echarts4r object as returned by e_charts.

serie

Column name of serie to plot.

bind

Binding between datasets, namely for use of e_brush.

name

name of the serie.

legend

Whether to add serie to legend.

y_index

Indexes of x and y axis.

x_index

Indexes of x and y axis.

...

Any other option to pass, check See Also section.

See Also

Additional arguments

Examples

Run this code
# NOT RUN {
CO2 %>% 
  group_by(Plant) %>% 
  e_charts(conc) %>% 
  e_area(uptake) %>% 
  e_tooltip(trigger = "axis")

# }

Run the code above in your browser using DataLab