onPaint method
Draws segment in series bounds.
Implementation
@override
void onPaint(Canvas canvas) {
_renderStackingRectSeries(
fillPaint,
strokePaint,
_path,
animationFactor,
_seriesRenderer,
canvas,
segmentRect,
_currentPoint!,
currentSegmentIndex!);
}