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

Function isRightOfRect

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

Source from the content-addressed store, hash-verified

70 var e = trace.tiling.pad;
71 var isLeftOfRect = function(x) { return x - e <= ref.x0; };
72 var isRightOfRect = function(x) { return x + e >= ref.x1; };
73 var isBottomOfRect = function(y) { return y - e <= ref.y0; };
74 var isTopOfRect = function(y) { return y + e >= ref.y1; };
75

Callers 1

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