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

Function viewMapX

src/traces/treemap/plot_one.js:130–130  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

128 var cenY = -vph / 2 + gs.t + gs.h * (1 - (domain.y[1] + domain.y[0]) / 2);
129
130 var viewMapX = function(x) { return cenX + x; };
131 var viewMapY = function(y) { return cenY + y; };
132
133 var barY0 = viewMapY(0);

Callers 3

plot_one.jsFile · 0.85
pathDescendantFunction · 0.85
toMoveInsideSliceFunction · 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…