chart_series_lwc() offers a quantmod-flavored bridge into the pipe-first
chart API. It recognizes a small subset of common chartSeries() and
addTA() workflows.
Arguments
- x
Market data. Usually an
xtsobject with OHLC or OHLCV columns.- type
Base series type.
"auto"chooses candlesticks when OHLC data is available and a line chart otherwise.- subset
Optional quantmod-style subset string, passed through
xts.- show.grid
Included for API familiarity. Currently ignored.
- name
Optional display name for the chart.
- log.scale
Included for API familiarity. Currently ignored.
- TA
Optional semicolon-delimited TA expressions like
"addVo();addSMA(n = 20)".- theme
"light"or"dark".- up.col, dn.col
Rising and falling colors for price series.
- ...
Reserved for future compatibility arguments.