Legend

interface Legend : BoundsAware

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

Inheritors

Functions

Link copied to clipboard
abstract fun draw(context: ChartDrawContext)

Draws the legend.

Link copied to clipboard
abstract fun getHeight(context: MeasureContext, availableWidth: Float): Float

Returns the height of the legend.