Package-level declarations
Types
Link copied to clipboard
Facilitates adding elements to a collection.
Link copied to clipboard
A MeasuringContext extension with a Canvas reference.
Link copied to clipboard
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: Insets = Insets.Zero) : Legend<M, D>
HorizontalLegend displays legend items beside one another in lines.
Link copied to clipboard
Link copied to clipboard
Defines the functions required by the library to draw a chart legend.
Link copied to clipboard
open class LegendItem(val icon: Component, val labelComponent: TextComponent, val label: CharSequence)
Defines the appearance of an item of a Legend.
Link copied to clipboard
interface MeasuringContext
Holds data used for measuring and drawing.
Link copied to clipboard
open class VerticalLegend<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, padding: Insets = Insets.Zero) : Legend<M, D>
VerticalLegend displays legend items in a vertical list.