kandy 0.7.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: 22 November 2023