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

Method _updateHiddenIndices

src/core/core.controller.js:569–576  ·  view source on GitHub ↗

* @private

()

Source from the content-addressed store, hash-verified

567 * @private
568 */
569 _updateHiddenIndices() {
570 const {_hiddenIndices} = this;
571 const changes = this._getUniformDataChanges() || [];
572 for (const {method, start, count} of changes) {
573 const move = method === '_removeElements' ? -count : count;
574 moveNumericKeys(_hiddenIndices, start, move);
575 }
576 }
577
578 /**
579 * @private

Callers 1

updateMethod · 0.95

Calls 2

moveNumericKeysFunction · 0.85

Tested by

no test coverage detected