@sqlrooms/color-scales / getDiscreteNumericColors
Function: getDiscreteNumericColors()
getDiscreteNumericColors(
options):any[]
Parameters
| Parameter | Type |
|---|---|
options | { scheme: "Blues" | "BuGn" | "BuPu" | "GnBu" | "Greens" | "Greys" | "OrRd" | "Oranges" | "PuBu" | "PuBuGn" | "PuRd" | "Purples" | "RdPu" | "Reds" | "YlGn" | "YlGnBu" | "YlOrBr" | "YlOrRd" | "BrBG" | "PRGn" | "PiYG" | "PuOr" | "RdBu" | "RdGy" | "RdYlBu" | "RdYlGn" | "Spectral"; bins: number; reverse?: boolean; } |
options.scheme | "Blues" | "BuGn" | "BuPu" | "GnBu" | "Greens" | "Greys" | "OrRd" | "Oranges" | "PuBu" | "PuBuGn" | "PuRd" | "Purples" | "RdPu" | "Reds" | "YlGn" | "YlGnBu" | "YlOrBr" | "YlOrRd" | "BrBG" | "PRGn" | "PiYG" | "PuOr" | "RdBu" | "RdGy" | "RdYlBu" | "RdYlGn" | "Spectral" |
options.bins | number |
options.reverse? | boolean |
Returns
any[]
