item

abstract fun item(x: X, y: Float, bar: @Composable BarScope.() -> Unit? = null)

Adds an item at the specified x axis coordinate, with a vertical extent y, which will be added to series elements at the same x-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.