kandy
 
0.8.0
Because kandy 0.8.0 is still in development, this documentation may not be entirely accurate and is subject to change.

Simple Ribbon

Edit pageLast modified: 12 December 2023
val xs by columnOf(1.0, 2.0, 3.0, 4.0, 5.0, 6.0)
val mins by columnOf(0.2, 0.9, 0.55, 1.32, 2.2, 1.5)
val maxs by columnOf(0.7, 1.4, 1.1, 2.1, 2.6, 2.2)
val df = dataFrameOf(xs, mins, maxs)

df.plot {
    ribbon {
        x(xs)
        yMin(mins)
        yMax(maxs)
    }
}
Simple Ribbon