Package-level declarations

Types

Link copied to clipboard
open class HorizontalLegend(var items: Collection<LegendItem>, var iconSizeDp: Float, var iconPaddingDp: Float, var lineSpacingDp: Float = 0.0f, var spacingDp: Float = 0.0f, val padding: MutableDimensions = emptyDimensions()) : Legend, Padding

HorizontalLegend displays legend items beside one another in lines.

Link copied to clipboard
interface Legend : BoundsAware

Defines the functions required by the library to draw a chart legend.

Link copied to clipboard
open class LegendItem(val icon: Component, val label: TextComponent, val labelText: CharSequence)

Defines the appearance of an item of a Legend.

Link copied to clipboard
open class VerticalLegend(var items: Collection<LegendItem>, var iconSizeDp: Float, var iconPaddingDp: Float, var spacingDp: Float = 0.0f, val padding: MutableDimensions = emptyDimensions()) : Legend, Padding

VerticalLegend displays legend items in a vertical list.