fun scale_fill_discrete(h: Int? = null, c: Int? = null, l: Int? = null, hStart: Int? = null, direction: Int? = null, name: String? = null, breaks: List<Any>? = null, labels: List<String>? = null, limits: List<Any>? = null, expand: Any? = null, naValue: Any? = null, guide: Any? = null, trans: Any? = null): Scale
Qualitative color scale with evenly spaced hues for color aesthetic Defines qualitative color scale with evenly spaced hues for color aesthetic
h
- list of two numbers
Range of hues, from 0 to 360
c
- numeric
Chroma (intensity of color), maximum value varies depending on.
l
- numeric
Luminance (lightness), from 0 to 100
direction
- numeric
Direction to travel around the color wheel, 1 = clockwise (default), -1=counter-clockwise
name
- string
The name of the scale - used as the axis label or the legend title. If None, the default, the name of the scale
is taken from the first mapping used for that aesthetic.
breaks
- list of numerics
A numeric vector of positions (of ticks)
labels
- list of strings
A vector of labels (on ticks)
limits
- list
A vector specifying the data range for the scale. and the default order of their display in guides.
A numeric vector of length two giving multiplicative and additive expansion constants.