kandy 0.6.0 Help

Simple Area

val dataframe = dataFrameOf( "years" to listOf("2017", "2018", "2019", "2020", "2021", "2022", "2023"), "cost" to listOf(56.1, 22.7, 34.7, 82.1, 53.7, 68.5, 39.9) ) dataframe.plot { area { x("years") y("cost") } }
val years = listOf("2017", "2018", "2019", "2020", "2021", "2022", "2023") val cost = listOf(56.1, 22.7, 34.7, 82.1, 53.7, 68.5, 39.9) plot { area { x(years) y(cost) } }
Simple Area
Last modified: 10 May 2024