Skip to content

chartSeries plot area background color. #445

@andreltr

Description

@andreltr

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions