I am getting an error when I try to make a plot with chart_Series() that works with chartSeries().
I get the data with getSymbols() and can then use chartSeries() to get stock chart:
library(quantmod)
AAPL <- getSymbols("AAPL", from=Sys.Date()-84, auto.assign=F)
chartSeries(AAPL,theme="white",major.ticks="months",minor.ticks = F)
However if I use chart_Series():
chart_Series(AAPL,theme="white",major.ticks="months",minor.ticks=F)
I have the error "Error in theme$col : $ operator is invalid for atomic vectors"
I want to use chart_Series() because it supports the par() function.
How to resolve the error in chart_Series()? Thank you for reading my posts :)

chart_Series()does not have the same arguments aschartSeries(), so they're not meant to be drop-in replacements of each other.chart_Series()uses a white background by default, so you don't need to changethemeif that is all you want.