public static interface PointsGraphSeries.CustomShape
Modifier and Type | Method and Description |
---|---|
void |
draw(Canvas canvas,
Paint paint,
float x,
float y,
DataPointInterface dataPoint)
called when drawing a single data point.
|
void draw(Canvas canvas, Paint paint, float x, float y, DataPointInterface dataPoint)
canvas
- canvas to draw onpaint
- internal paint object. this has the correct color.
But you can use your own paint.x
- x-coordinate the point has to be drawn toy
- y-coordinate the point has to be drawn todataPoint
- the related data point