item

abstract fun item(y: Y, xMin: X, xMax: X, bar: DefaultHorizontalBarComposable<X, Y>? = null)

Adds an item at the specified y axis coordinate, with horizontal extent spanning from xMin to xMax. An optional bar can be provided to customize the Composable used to generate the bar for this specific item.