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

Method _updateHiddenIndices

src/core/core.controller.js:573–580  ·  view source on GitHub ↗

* @private

()

Source from the content-addressed store, hash-verified

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

Callers 1

updateMethod · 0.95

Calls 2

moveNumericKeysFunction · 0.85

Tested by

no test coverage detected