kandy 0.6.0 Help

Simple Line

val years by columnOf("2018", "2019", "2020", "2021", "2022") val cost by columnOf(62.7, 64.7, 72.1, 73.7, 68.5) val df = dataFrameOf(years, cost) df.plot { line { x(years) y(cost) } }
val years = listOf("2018", "2019", "2020", "2021", "2022") val cost = listOf(62.7, 64.7, 72.1, 73.7, 68.5) plot { line { x(years) y(cost) } }
Simple Line
Last modified: 10 May 2024