powered by
hc_add_series for xts objects
# S3 method for xts hc_add_series(hc, data, ...)# S3 method for ohlc hc_add_series(hc, data, type = "candlestick", ...)
# S3 method for ohlc hc_add_series(hc, data, type = "candlestick", ...)
A highchart htmlwidget object.
highchart
htmlwidget
A xts object.
xts
Arguments defined in https://api.highcharts.com/highcharts/plotOptions.series.
The way to show the xts object. Can be 'candlestick' or 'ohlc'.