HorizontalLegend
open class HorizontalLegend<M : MeasuringContext, D : DrawingContext>(items: AdditionScope<LegendItem>.(ExtraStore) -> Unit, iconSizeDp: Float = Defaults.LEGEND_ICON_SIZE, iconLabelSpacingDp: Float = Defaults.LEGEND_ICON_LABEL_SPACING, rowSpacingDp: Float = Defaults.LEGEND_ROW_SPACING, columnSpacingDp: Float = Defaults.LEGEND_COLUMN_SPACING, padding: Dimensions = Dimensions.Empty) : Legend<M, D>
HorizontalLegend displays legend items beside one another in lines.
Constructors
Link copied to clipboard
constructor(items: AdditionScope<LegendItem>.(ExtraStore) -> Unit, iconSizeDp: Float = Defaults.LEGEND_ICON_SIZE, iconLabelSpacingDp: Float = Defaults.LEGEND_ICON_LABEL_SPACING, rowSpacingDp: Float = Defaults.LEGEND_ROW_SPACING, columnSpacingDp: Float = Defaults.LEGEND_COLUMN_SPACING, padding: Dimensions = Dimensions.Empty)