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

Function getPrev

src/traces/treemap/plot_one.js:98–102  ·  view source on GitHub ↗
(pt, onPathbar)

Source from the content-addressed store, hash-verified

96 var prevLookupSlices = {};
97 var nextOfPrevEntry = null;
98 var getPrev = function(pt, onPathbar) {
99 return onPathbar ?
100 prevLookupPathbar[getKey(pt)] :
101 prevLookupSlices[getKey(pt)];
102 };
103
104 var getOrigin = function(pt, onPathbar, refRect, size) {
105 if(onPathbar) {

Callers 4

interpFromParentFunction · 0.85

Calls 1

getKeyFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…