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

Method makeSet

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected