MCPcopy Index your code
hub / github.com/plotly/plotly.js / parseAlignmentX

Function parseAlignmentX

src/traces/scatter3d/convert.js:129–133  ·  view source on GitHub ↗
(a)

Source from the content-addressed store, hash-verified

127}
128
129function parseAlignmentX(a) {
130 if (a === null || a === undefined) return 0;
131
132 return a.indexOf('left') > -1 ? -1 : a.indexOf('right') > -1 ? 1 : 0;
133}
134
135function parseAlignmentY(a) {
136 if (a === null || a === undefined) return 0;

Callers 1

calculateTextOffsetFunction · 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…