VerticalLegend
open class VerticalLegend<M : MeasuringContext, D : DrawingContext>(items: AdditionScope<LegendItem>.(ExtraStore) -> Unit, iconSize: Dp = Defaults.LEGEND_ICON_SIZE.dp, iconLabelSpacing: Dp = Defaults.LEGEND_ICON_LABEL_SPACING.dp, rowSpacing: Dp = Defaults.LEGEND_ROW_SPACING.dp, padding: Insets = Insets.Zero) : Legend<M, D>
VerticalLegend displays legend items in a vertical list.
Parameters
items
adds the LegendItems.
iconSize
the LegendItem.icon size.
iconLabelSpacing
the spacing between LegendItem.icon and LegendItem.label.
rowSpacing
the row spacing.
padding
the content padding.
Constructors
Link copied to clipboard
constructor(items: AdditionScope<LegendItem>.(ExtraStore) -> Unit, iconSize: Dp = Defaults.LEGEND_ICON_SIZE.dp, iconLabelSpacing: Dp = Defaults.LEGEND_ICON_LABEL_SPACING.dp, rowSpacing: Dp = Defaults.LEGEND_ROW_SPACING.dp, padding: Insets = Insets.Zero)