draw
open 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.
Deprecated
Use the version of `draw` that takes a `ChartValuesProvider` as an argument.
Replace with
draw(context, bounds, markedEntries, chartValuesProvider)
Content copied to clipboard
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.