Build a theme river.

e_river(e, serie, name = NULL, legend = TRUE, rm.x = TRUE, rm.y = TRUE,
  ...)

Arguments

e

An echarts4r object as returned by e_charts.

serie

Column name of serie to plot.

name

name of the serie.

legend

Whether to add serie to legend.

rm.x, rm.y

Whether to remove x and y axis, defaults to TRUE.

...

Any other option to pass, check See Also section.

See also

Examples

dates <- seq.Date(Sys.Date() - 30, Sys.Date(), by = "day") df <- data.frame( dates = dates, apples = runif(length(dates)), bananas = runif(length(dates)), pears = runif(length(dates)) ) df %>% e_charts(dates) %>% e_river(apples) %>% e_river(bananas) %>% e_river(pears) %>% e_tooltip(trigger = "axis")