R/classes.R
ColorScale.Rd
Created by scale_color_manual() / scale_color_gradient().
scale_color_manual()
scale_color_gradient()
ColorScale(palette = character(0), name = NULL, type = character(0))
Character vector of hex colors (two, for a gradient).
Optional legend title.
"discrete" or "continuous".
"discrete"
"continuous"
An S7 object of class ColorScale; usually built by scale_color_manual() or scale_color_gradient().
ColorScale