hc_add_series: Adding and removing series from highchart objects

Description Usage Arguments Examples

View source: R/api-hc-hc_add_series.R

Description

Adding and removing series from highchart objects

Usage

1

Arguments

hc

A highchart htmlwidget object.

data

An R object like numeric, list, ts, xts, etc.

...

Arguments defined in http://api.highcharts.com/highcharts#chart.

Examples

1
2
3
 highchart() %>%
   hc_add_series(data = abs(rnorm(5)), type = "column") %>% 
   hc_add_series(data = purrr::map(0:4, function(x) list(x, x)), type = "scatter", color = "blue")

highcharter documentation built on May 30, 2017, 1:47 a.m.

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