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

Method _update

src/core/core.datasetController.js:701–705  ·  view source on GitHub ↗

* @private

(mode)

Source from the content-addressed store, hash-verified

699 * @private
700 */
701 _update(mode) {
702 const meta = this._cachedMeta;
703 this.update(mode || 'default');
704 meta._clip = toClip(valueOrDefault(this.options.clip, defaultClip(meta.xScale, meta.yScale, this.getMaxOverflow())));
705 }
706
707 /**
708 * @param {string} mode

Callers 1

resetMethod · 0.95

Calls 5

updateMethod · 0.95
getMaxOverflowMethod · 0.95
toClipFunction · 0.85
valueOrDefaultFunction · 0.85
defaultClipFunction · 0.85

Tested by

no test coverage detected