MCPcopy
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

_drawMethod · 0.95
clipAreaFunction · 0.85
unclipAreaFunction · 0.85

Tested by

no test coverage detected