Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/chartjs/Chart.js
/ draw
Method
draw
src/plugins/plugin.legend.js:269–278 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
267
}
268
269
draw() {
270
if
(this.options.display) {
271
const
ctx = this.ctx;
272
clipArea(ctx, this);
273
274
this._draw();
275
276
unclipArea(ctx);
277
}
278
}
279
280
/**
281
* @private
Callers
nothing calls this directly
Calls
3
_draw
Method · 0.95
clipArea
Function · 0.85
unclipArea
Function · 0.85
Tested by
no test coverage detected