HorizontalLegend
constructor(items: AdditionScope<LegendItem>.(ExtraStore) -> Unit, iconSizeDp: Float, iconPaddingDp: Float, lineSpacingDp: Float = 0.0f, spacingDp: Float = 0.0f, padding: Dimensions = Dimensions.Empty)
Parameters
items
adds the LegendItems.
iconSizeDp
defines the size of all LegendItem.icons.
iconPaddingDp
defines the padding between each LegendItem.icon and its corresponding LegendItem.label.
lineSpacingDp
defines the spacing between adjacent lines.
spacingDp
defines the horizontal spacing between adjacent LegendItems.
padding
defines the padding of the content.