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

Method addElements

src/core/core.datasetController.js:394–402  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

392 }
393
394 addElements() {
395 const meta = this._cachedMeta;
396
397 this._dataCheck();
398
399 if (this.datasetElementType) {
400 meta.dataset = new this.datasetElementType();
401 }
402 }
403
404 buildOrUpdateElements(resetNewElements) {
405 const meta = this._cachedMeta;

Callers 1

initializeMethod · 0.95

Calls 1

_dataCheckMethod · 0.95

Tested by

no test coverage detected