Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/chartjs/Chart.js
/ idMatchesAxis
Function
idMatchesAxis
src/core/core.config.js:25–29 ·
view source on GitHub ↗
(id)
Source
from the content-addressed store, hash-verified
23
}
24
25
function
idMatchesAxis(id) {
26
if
(id ===
'x'
|| id ===
'y'
|| id ===
'r'
) {
27
return
id;
28
}
29
}
30
31
function
axisFromPosition(position) {
32
if
(position ===
'top'
|| position ===
'bottom'
) {
Callers
1
determineAxis
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected