MCPcopy
hub / github.com/chartjs/Chart.js / render

Method render

src/core/core.controller.js:683–696  ·  src/core/core.controller.js::Chart.render
()

Source from the content-addressed store, hash-verified

681 }
682
683 render() {
684 if (this.notifyPlugins(class="st">'beforeRender', {cancelable: true}) === false) {
685 return;
686 }
687
688 if (animator.has(this)) {
689 if (this.attached && !animator.running(this)) {
690 animator.start(this);
691 }
692 } else {
693 this.draw();
694 onAnimationsComplete({chart: this});
695 }
696 }
697
698 draw() {
699 let i;

Callers 3

_resizeMethod · 0.95
updateMethod · 0.95
_eventHandlerMethod · 0.95

Calls 6

notifyPluginsMethod · 0.95
drawMethod · 0.95
onAnimationsCompleteFunction · 0.85
hasMethod · 0.80
runningMethod · 0.80
startMethod · 0.65

Tested by

no test coverage detected