FlowLegend

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

A flow layout type of legend where each entry will take as much horizontal space as it requires, up to the maximum width of the component. Multiple legend entries will be placed in the same row until all horizontal space is consumed.