hc_add_series_list: Shorcut for data series from a list of data series

Description Usage Arguments Examples

Description

Shorcut for data series from a list of data series

Usage

1

Arguments

hc

A highchart htmlwidget object.

x

A list or a data.frame of series.

Examples

1
2
3
4
5
6
7
8
ds <- lapply(seq(5), function(x){
  list(data = cumsum(rnorm(100, 2, 5)), name = x)
})

highchart() %>% 
  hc_plotOptions(series = list(marker = list(enabled = FALSE))) %>% 
  hc_add_series_list(ds)
  


Search within the highcharter package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.