ColumnLegend

fun ColumnLegend(itemCount: Int, symbol: @Composable LegendScope.(item: Int) -> Unit = {}, label: @Composable LegendScope.(item: Int) -> Unit = {}, value: @Composable LegendScope.(item: Int) -> Unit = {}, rowGap: Dp = KoalaPlotTheme.sizes.gap, columnGap: Dp = KoalaPlotTheme.sizes.gap, modifier: Modifier = Modifier)

Deprecated

Use ColumnLegend2 with modifier as first default parameter instead.

Replace with

ColumnLegend2(itemCount, modifier, symbol, label, value, rowGap, columnGap)

Creates a legend with itemCount legend items laid out vertically in a column. Each row of the legend consists of a symbol, label, and value.