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