LegendsConfig

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

LegendsConfig data class params used in config label in graph.

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

Constructors

Link copied to clipboard
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)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard