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

Function onAnimationProgress

src/core/core.controller.js:41–45  ·  view source on GitHub ↗
(context)

Source from the content-addressed store, hash-verified

39}
40
41function onAnimationProgress(context) {
42 const chart = context.chart;
43 const animationOptions = chart.options.animation;
44 callCallback(animationOptions && animationOptions.onProgress, [context], chart);
45}
46
47/**
48 * Chart.js can take a string id of a canvas element, a 2d context, or a canvas element itself.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected