onRealTimeAnimationUpdate method
Implementation
@override
void onRealTimeAnimationUpdate() {
super.onRealTimeAnimationUpdate();
if (segments.isNotEmpty) {
final ChartSegment segment = segments[0];
segment.animationFactor = segmentAnimationFactor;
segment.transformValues();
customizeSegment(segment);
}
markNeedsPaint();
}