paint method

void paint(
  1. ChartCanvas canvas
)
inherited

Implementation

void paint(ChartCanvas canvas) {
  canvas.drawingView = 'BaseView';
  for (var 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();
  }
}