kandy 0.6.0 Help

Bar with Reversed Axis

val dataset = dataFrameOf( "task" to listOf("a", "b", "c", "d", "e"), "time" to listOf(30, 25, 20, 35, 28) ) dataset.plot { bars { x("task") y("time") { scale = continuous(transform = Transformation.REVERSE) } fillColor = Color.hex("#07C3F2") } }
val dataset = mapOf( "task" to listOf("a", "b", "c", "d", "e"), "time" to listOf(30, 25, 20, 35, 28) ) dataset.plot { bars { x("task") y("time") { scale = continuous(transform = Transformation.REVERSE) } fillColor = Color.hex("#07C3F2") } }
Bar with Reversed Axis
Last modified: 10 May 2024