hc_add_series for forecast objects
# S3 method for forecast
hc_add_series(
hc,
data,
addOriginal = FALSE,
addLevels = TRUE,
fillOpacity = 0.1,
name = NULL,
...
)
A highchart
htmlwidget
object.
A forecast
object.
Logical value to add the original series or not.
Logical value to show predictions bands.
The opacity of bands.
The name of the series.
Arguments defined in https://api.highcharts.com/highcharts/chart.