kandy 0.7.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: 06 December 2023