Companion

object Companion

Houses AreaFill factory functions.

Functions

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

Uses topFill for those areas bounded by the LineCartesianLayer line and the splitY 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
fun single(fill: Fill, splitY: (ExtraStore) -> Number = { 0 }): LineCartesianLayer.AreaFill

Uses fill for the areas bounded by the LineCartesianLayer line and the splitY line. (The splitY line is an imaginary horizontal line whose y value is determined by splitY.)