-
- All Implemented Interfaces:
-
com.patrykandpatrick.vico.core.chart.insets.ChartInsetter
public interface Marker implements ChartInsetter
Highlights points on a chart and displays their corresponding values in a bubble.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classMarker.EntryModelContains information on a single chart entry to which a chart marker refers.
-
Method Summary
Modifier and Type Method Description Unitdraw(DrawContext context, RectF bounds, List<Marker.EntryModel> markedEntries)Draws the marker. Unitdraw(DrawContext context, RectF bounds, List<Marker.EntryModel> markedEntries, ChartValuesProvider chartValuesProvider)Draws the marker. -
-
Method Detail
-
draw
@Deprecated(message = Use the version of `draw` that takes a `ChartValuesProvider` as an argument., replaceWith = @ReplaceWith(imports = {}, expression = draw(context, bounds, markedEntries, chartValuesProvider))) Unit draw(DrawContext context, RectF bounds, List<Marker.EntryModel> markedEntries)
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.
-
draw
Unit draw(DrawContext context, RectF bounds, List<Marker.EntryModel> markedEntries, 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.
-
-
-
-