Custom theme with quantmod library
Sounds like this might be a setting in RStudio, if you're using that. If in RStudio: tools -> global options -> appearance -> customize. On Wed, Jan 14, 2026 at 12:06?PM Andre Luiz Tietbohl Ramos <
andreltramos at gmail.com> wrote:
Hello,
Is there a way to customize quantmod theme colors? This great library
works fine however I rather change its color theme. So far, I have been
able to use both white and black themes.
I tried to use the chartSeries theme command described below to no avail.
I tried even without a theme name, e.g. white or black. An example is
below,
stock.plot <- chartSeries(stock.time_interval, ## ativo,
name = stock.name,
type = "candlestick",
subset='2025-07::2026-01',
theme = chartTheme("white", up.col='darkgreen',
dn.col='darkred',
bg.col='gray',
selection.color='gray'),
TA = NULL
)
Could anyone help, please?
TIA,
--
Andre Luiz Tietbohl Ramos, PhD
[[alternative HTML version deleted]]
_______________________________________________ R-SIG-Finance at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-sig-finance -- Subscriber-posting only. If you want to post, subscribe first. -- Also note that this is not the r-help list where general R questions should go.