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

Method updateIndex

src/core/core.datasetController.js:292–297  ·  src/core/core.datasetController.js::DatasetController.updateIndex
(datasetIndex)

Source from the content-addressed store, hash-verified

290 }
291
292 updateIndex(datasetIndex) {
293 if (this.index !== datasetIndex) {
294 clearStacks(this._cachedMeta);
295 }
296 this.index = datasetIndex;
297 }
298
299 linkScales() {
300 const chart = this.chart;

Calls 1

clearStacksFunction · 0.85

Tested by

no test coverage detected