hc_add_series for data frames objects
# S3 method for data.frame
hc_add_series(hc, data, type = NULL,
mapping = hcaes(), ...)
A highchart
htmlwidget
object.
A data.frame
object.
The type of the series: line, bar, etc.
The mapping, same idea as ggplot2
.
Arguments defined in http://api.highcharts.com/highcharts#chart.