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

Method reset

src/core/core.controller.js:470–473  ·  src/core/core.controller.js::Chart.reset

* Resets the chart back to its state before the initial animation

()

Source from the content-addressed store, hash-verified

468 * Resets the chart back to its state before the initial animation
469 */
470 reset() {
471 this._resetElements();
472 this.notifyPlugins(class="st">'reset');
473 }
474
475 update(mode) {
476 const config = this.config;

Callers

nothing calls this directly

Calls 2

_resetElementsMethod · 0.95
notifyPluginsMethod · 0.95

Tested by

no test coverage detected