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

Method clear

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

Source from the content-addressed store, hash-verified

257 }
258
259 clear() {
260 clearCanvas(this.canvas, this.ctx);
261 return this;
262 }
263
264 stop() {
265 animator.stop(this);

Callers 2

drawMethod · 0.95
clearCacheMethod · 0.80

Calls 1

clearCanvasFunction · 0.85

Tested by

no test coverage detected