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

Function getDefaultScaleIDFromAxis

src/core/core.config.js:21–23  ·  view source on GitHub ↗
(axis, indexAxis)

Source from the content-addressed store, hash-verified

19}
20
21function getDefaultScaleIDFromAxis(axis, indexAxis) {
22 return axis === indexAxis ? '_index_' : '_value_';
23}
24
25function idMatchesAxis(id) {
26 if (id === 'x' || id === 'y' || id === 'r') {

Callers 1

mergeScaleConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…