ColorScale

class ColorScale(colors: List<Int>)

Constructors

Link copied to clipboard
constructor(colors: List<Int>)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun breaks(value: Any?)

Returns a distinct set of colors instead of a continuous gradient.

Link copied to clipboard
fun colorForValue(value: Double): Int
Link copied to clipboard
fun colors(total: Int, out: String = "hex"): List<DataColorScale.RGB>
Link copied to clipboard
fun domain(domain: MutableList<Double>): Any
Link copied to clipboard
fun getColor(value: Double, bypassMap: Boolean = false): DataColorScale.RGB
Link copied to clipboard
fun setDomain(domain: List<Double>)
Link copied to clipboard
fun setStops(stops: List<Double>)