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

Method _getOtherScale

src/core/core.datasetController.js:338–343  ·  view source on GitHub ↗

* @private

(scale)

Source from the content-addressed store, hash-verified

336 * @private
337 */
338 _getOtherScale(scale) {
339 const meta = this._cachedMeta;
340 return scale === meta.iScale
341 ? meta.vScale
342 : meta.iScale;
343 }
344
345 reset() {
346 this._update('reset');

Callers 1

getMinMaxMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected