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", ...)
A highchart
htmlwidget
object.
A xts
object.
Arguments defined in http://api.highcharts.com/highcharts/chart.
The way to show the xts
object. Can be 'candlestick' or 'ohlc'.