paint method

void paint(
  1. ChartCanvas canvas
)

Implementation

void paint(ChartCanvas canvas) {
  canvas.drawingView = 'BaseView';
  for (final view in _layoutManager.paintOrderedViews) {
    canvas.drawingView = view.runtimeType.toString();
    view.paint(canvas, animatingThisDraw ? animationPercent : 1.0);
  }

  canvas.drawingView = 'PostRender';
  fireOnPostrender(canvas);
  canvas.drawingView = null;

  if (animationPercent == 1.0) {
    fireOnAnimationComplete();
  }
}