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

Function needsRedrawForShift

src/plots/plots.js:1852–1861  ·  view source on GitHub ↗
(gd)

Source from the content-addressed store, hash-verified

1850};
1851
1852function needsRedrawForShift(gd) {
1853 if('_redrawFromAutoMarginCount' in gd._fullLayout) {
1854 return false;
1855 }
1856 var axList = axisIDs.list(gd, '', true);
1857 for(var ax in axList) {
1858 if(axList[ax].autoshift || axList[ax].shift) return true;
1859 }
1860 return false;
1861}
1862
1863plots.doAutoMargin = function(gd) {
1864 var fullLayout = gd._fullLayout;

Callers 1

plots.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…