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

Function isDirectionActive

src/plots/cartesian/dragbox.js:1059–1064  ·  view source on GitHub ↗
(axList, activeVal)

Source from the content-addressed store, hash-verified

1057}
1058
1059function isDirectionActive(axList, activeVal) {
1060 for(var i = 0; i < axList.length; i++) {
1061 if(!axList[i].fixedrange) return activeVal;
1062 }
1063 return '';
1064}
1065
1066function getEndText(ax, end) {
1067 var initialVal = ax.range[end];

Callers 1

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