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

Function isBottomOfRect

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

Source from the content-addressed store, hash-verified

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
76 if(pt.x0 === ref.x0 && pt.x1 === ref.x1 && pt.y0 === ref.y0 && pt.y1 === ref.y1) {

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…