onPaint method
Draws segment in series bounds.
Implementation
@override
void onPaint(Canvas canvas) {
Paint paint = getFillPaint();
if (paint.color != Colors.transparent) {
canvas.drawPath(fillPath, paint);
}
paint = getStrokePaint();
if (paint.color != Colors.transparent && paint.strokeWidth > 0) {
canvas.drawPath(fillPath, paint);
}
}