LegendsConfig

constructor(legendLabelList: List<LegendLabel>, textSize: TextUnit = 14.sp, gridColumnCount: Int = 1, gridPaddingHorizontal: Dp = 8.dp, gridPaddingVertical: Dp = 8.dp, colorBoxSize: Dp = 25.dp, textStyle: TextStyle = TextStyle(), spaceBWLabelAndColorBox: Dp = 8.dp, legendsArrangement: Arrangement.Horizontal = Arrangement.Center)

Parameters

legendLabelList

: stackLabelList is used to show labels with colors

gridColumnCount

: Column Count for stackLabel grid

gridPaddingHorizontal

: Horizontal padding for stackLabel grid

gridPaddingVertical

: Vertical padding for stackLabel grid

spaceBWLabelAndColorBox

: Space between Label and ColorBox for stackLabel grid item

colorBoxSize

: Blend mode for the groupSeparator

textStyle

: TextStyle for label