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

Method makeSet

src/core/core.controller.js:589–593  ·  view source on GitHub ↗
(idx)

Source from the content-addressed store, hash-verified

587 this._dataChanges = [];
588 const datasetCount = this.data.datasets.length;
589 const makeSet = (idx) => new Set(
590 _dataChanges
591 .filter(c => c[0] === idx)
592 .map((c, i) => i + ',' + c.splice(1).join(','))
593 );
594
595 const changeSet = makeSet(0);
596 for (let i = 1; i < datasetCount; i++) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected