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

Method _updateScales

src/core/core.controller.js:546–553  ·  view source on GitHub ↗

* @private

()

Source from the content-addressed store, hash-verified

544 * @private
545 */
546 _updateScales() {
547 each(this.scales, (scale) => {
548 layouts.removeBox(this, scale);
549 });
550
551 this.ensureScalesHaveIDs();
552 this.buildOrUpdateScales();
553 }
554
555 /**
556 * @private

Callers 1

updateMethod · 0.95

Calls 3

ensureScalesHaveIDsMethod · 0.95
buildOrUpdateScalesMethod · 0.95
eachFunction · 0.85

Tested by

no test coverage detected