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