MCPcopy Create free account
hub / github.com/plotly/plotly.js / addMissingMatchedAxis

Function addMissingMatchedAxis

src/plots/cartesian/layout_defaults.js:196–202  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

194 // not part of the allAxisIds list, save axis type so that we can propagate
195 // it to the missing axes
196 function addMissingMatchedAxis() {
197 var matchesIn = axLayoutIn.matches;
198 if(AX_ID_PATTERN.test(matchesIn) && allAxisIds.indexOf(matchesIn) === -1) {
199 missingMatchedAxisIdsLookup[matchesIn] = axLayoutIn.type;
200 missingMatchedAxisIds = Object.keys(missingMatchedAxisIdsLookup);
201 }
202 }
203
204 var hovermode = handleHoverModeDefaults(layoutIn, layoutOut);
205 var unifiedHover = isUnifiedHover(hovermode);

Callers 1

layout_defaults.jsFile · 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…