drawDataMarker method
void
drawDataMarker(
- int index,
- Canvas canvas,
- Paint fillPaint,
- Paint strokePaint,
- double pointX,
- double pointY, [
- CartesianSeriesRenderer? seriesRenderer,
override
Draws marker with different shape and color of the appropriate data point in the series.
Implementation
@override
void drawDataMarker(int index, Canvas canvas, Paint fillPaint,
Paint strokePaint, double pointX, double pointY,
[CartesianSeriesRenderer? seriesRenderer]) {
canvas.drawPath(seriesRenderer!._markerShapes[index]!, fillPaint);
canvas.drawPath(seriesRenderer._markerShapes2[index]!, fillPaint);
canvas.drawPath(seriesRenderer._markerShapes[index]!, strokePaint);
canvas.drawPath(seriesRenderer._markerShapes2[index]!, strokePaint);
}