Companion

object Companion

Houses LineFill factory functions.

Functions

Link copied to clipboard
fun colorScale(verticalAxisPosition: Axis.Position.Vertical? = null, colors: ColorScaleScope.() -> Unit): LineCartesianLayer.LineFill

Uses a color scale.

Link copied to clipboard
fun double(topFill: Fill, bottomFill: Fill, splitY: (ExtraStore) -> Number = { 0 }): LineCartesianLayer.LineFill

Uses topFill for the portions of the line that are above the splitY line, and analogously for bottomFill. (The splitY line is an imaginary horizontal line whose y value is determined by splitY.)

Link copied to clipboard

Uses a single Fill.