R/geom-candlestick.R
scale_candlestick.Rdgeom_candlestick()'s default fill and colour scales for direction
computed in stat_ohlc(). This default works only when the defaults are
used alongside the direction statistic computed by stat_ohlc(), so
candlesticks are red (falling) or green (rising) and can be overridden
with an explicit colour/fill scale palette.
scale_fill_candlestick(
...,
falling = "#D32F2F",
unchanged = "grey70",
rising = "#388E3C"
)
scale_colour_candlestick(
...,
falling = "#D32F2F",
unchanged = "grey70",
rising = "#388E3C"
)Passed on to ggplot2::scale_fill_manual() /
ggplot2::scale_colour_manual().
Colours for each level of direction.
A ggproto scale object.
The Rising and falling candlesticks section of
geom_candlestick().