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

Method render

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

Source from the content-addressed store, hash-verified

760 }
761
762 render() {
763 if (this.notifyPlugins('beforeRender', {cancelable: true}) === false) {
764 return;
765 }
766
767 if (animator.has(this)) {
768 if (this.attached && !animator.running(this)) {
769 animator.start(this);
770 }
771 } else {
772 this.draw();
773 onAnimationsComplete({chart: this});
774 }
775 }
776
777 draw() {
778 let i;

Callers 4

_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