Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chartjs/Chart.js
/ getRange
Method
getRange
src/elements/element.bar.js:223–225 ·
view source on GitHub ↗
(axis)
Source
from the content-addressed store, hash-verified
221
}
222
223
getRange(axis) {
224
return
axis ===
'x'
? this.width / 2 : this.height / 2;
225
}
226
}
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected