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

Function orientation2binDir

src/traces/histogram/cross_trace_defaults.js:36–38  ·  view source on GitHub ↗
(traceOut)

Source from the content-addressed store, hash-verified

34 }
35
36 function orientation2binDir(traceOut) {
37 return traceOut.orientation === 'v' ? 'x' : 'y';
38 }
39
40 function getAxisType(traceOut, binDir) {
41 var ax = axisIds.getFromTrace({_fullLayout: fullLayout}, traceOut, binDir);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…