onPostLayout method
Implementation
void onPostLayout(Map<String, List<MutableSeries<D>>> rendererToSeriesList) {
// Update each renderer with
rendererToSeriesList
.forEach((String rendererId, List<MutableSeries<D>> seriesList) {
getSeriesRenderer(rendererId).update(seriesList, animatingThisDraw);
});
// Request animation
if (animatingThisDraw) {
animationPercent = 0.0;
context.requestAnimation(transition);
} else {
animationPercent = 1.0;
context.requestPaint();
}
_animationsTemporarilyDisabled = false;
}