joshuaulrich / joshuaulrich/quantmod

chartSeries plot area background color.

Open
#445 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
R
Stars
906
Forks
233
PR merge metrics
No merged PRs in 30d

Description

Hello,

Is there a way to have a custom background color on a chart plot?
I was able to obtain its outer range with gray color via bg.col = "gray" (see below)
however I rather have this color throughout the chart. TIA.

chartSeries(stock,
theme = chartTheme("white",
bg.col = "slategray",
),
type = "line",
name = paste0(ativo.nome,': Prices on ', format(as.Date(end),
format="%d-%b-%Y")),
subset='last 12 months',
bar.type = "hlc",
major.ticks='months',
minor.ticks=TRUE,
show.grid = TRUE,
TA = NULL,
)

Regards,

--
André Luiz T. Ramos, PhD

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.