MCPcopy Create free account
hub / github.com/chartjs/Chart.js / render

Method render

src/core/core.controller.js:687–700  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

685 }
686
687 render() {
688 if (this.notifyPlugins('beforeRender', {cancelable: true}) === false) {
689 return;
690 }
691
692 if (animator.has(this)) {
693 if (this.attached && !animator.running(this)) {
694 animator.start(this);
695 }
696 } else {
697 this.draw();
698 onAnimationsComplete({chart: this});
699 }
700 }
701
702 draw() {
703 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