-
public interface IMarker
-
-
Method Summary
Modifier and Type Method Description abstract MPPointFgetOffset()abstract MPPointFgetOffsetForDrawingAtPoint(float posX, float posY)abstract voidrefreshContent(Entry e, Highlight highlight)This method enables a specified custom IMarker to update it's content every time the IMarker is redrawn. abstract voiddraw(Canvas canvas, float posX, float posY)Draws the IMarker on the given position on the screen with the given Canvas object. -
-
Method Detail
-
getOffsetForDrawingAtPoint
abstract MPPointF getOffsetForDrawingAtPoint(float posX, float posY)
- Parameters:
posX- This is the X position at which the marker wants to be drawn.You can adjust the offset conditionally based on this argument.posY- This is the X position at which the marker wants to be drawn.You can adjust the offset conditionally based on this argument.
-
refreshContent
abstract void refreshContent(Entry e, Highlight highlight)
This method enables a specified custom IMarker to update it's content every time the IMarker is redrawn.
- Parameters:
e- The Entry the IMarker belongs to.highlight- The highlight object contains information about the highlighted value such as it's dataset-index, theselected range or stack-index (only stacked bar entries).
-
-
-
-