kandy 0.6.0 Help

Fixed ErrorBars Coordinate

val years = listOf("2018", "2019", "2020", "2021", "2022") val costMin = listOf(62.7, 64.7, 72.1, 73.7, 68.5) val costMax = listOf(68.9, 71.3, 78.9, 76.5, 72.1) val dataset = dataFrameOf(years.toColumn("years"), costMin.toColumn("min"), costMax.toColumn("max")) plot(dataset) { errorBars { x("years") yMin.constant(20.0) yMax("max") width = 0.5 borderLine.width = 1.3 } }
val years = listOf("2018", "2019", "2020", "2021", "2022") val costMax = listOf(68.9, 71.3, 78.9, 76.5, 72.1) plot { errorBars { x(years) yMin.constant(20.0) yMax(costMax) width = 0.5 borderLine.width = 1.3 } }
Fixed ErrorBars Coordinate
Last modified: 10 May 2024