item

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

Adds an item at the specified y axis coordinate, with a horizontal extent x, which will be added to series elements at the same y-axis coordinate already added to the plot. An optional bar can be provided to customize the Composable used to generate the bar for this specific item.