Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
draw
Method · 0.95
clearCache
Method · 0.80
Calls
1
clearCanvas
Function · 0.85
Tested by
no test coverage detected