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

Function dimensionDefaults

src/traces/splom/defaults.js:55–68  ·  view source on GitHub ↗
(dimIn, dimOut)

Source from the content-addressed store, hash-verified

53};
54
55function dimensionDefaults(dimIn, dimOut) {
56 function coerce(attr, dflt) {
57 return Lib.coerce(dimIn, dimOut, attributes.dimensions, attr, dflt);
58 }
59
60 coerce('label');
61 var values = coerce('values');
62
63 if (!(values && values.length)) dimOut.visible = false;
64 else coerce('visible');
65
66 coerce('axis.type');
67 coerce('axis.matches');
68}
69
70function handleAxisDefaults(traceIn, traceOut, layout, coerce) {
71 var dimensions = traceOut.dimensions;

Callers

nothing calls this directly

Calls 1

coerceFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…