draw

open override fun draw(context: DrawContext, bounds: RectF, markedEntries: List<Marker.EntryModel>, chartValuesProvider: ChartValuesProvider)

Draws the marker.

Parameters

context

the DrawContext used to draw the marker.

bounds

the bounds in which the marker is drawn.

markedEntries

a list of EntryModels representing the entries to which the marker refers.

chartValuesProvider

the Chart’s ChartValuesProvider.