MCPcopy
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
25function idMatchesAxis(id) {
26 if (id === 'x' || id === 'y' || id === 'r') {
27 return id;
28 }
29}
30
31function axisFromPosition(position) {
32 if (position === 'top' || position === 'bottom') {

Callers 1

determineAxisFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected