hc_add_series for geo_json & geo_list objects
Source:R/highcharts-api-add.R
hc_add_series.geo_json.Rd
hc_add_series for geo_json & geo_list objects
Usage
# S3 method for geo_json
hc_add_series(hc, data, type = NULL, ...)
# S3 method for geo_list
hc_add_series(hc, data, type = NULL, ...)
Arguments
- hc
A
highchart
htmlwidget
object.- data
A
geo_json
orgeo_list
object.- type
Type of series. Can be 'mapline', 'mapoint'.
- ...
Arguments defined in https://api.highcharts.com/highcharts/plotOptions.series.