Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/chartjs/Chart.js
/ getScaleForId
Method
getScaleForId
src/core/core.datasetController.js:331–333 ·
view source on GitHub ↗
* @param {string} scaleID * @return {Scale}
(scaleID)
Source
from the content-addressed store, hash-verified
329
* @
return
{Scale}
330
*/
331
getScaleForId(scaleID) {
332
return
this.chart.scales[scaleID];
333
}
334
335
/**
336
* @private
Callers
1
linkScales
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected