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

Function calcPos

src/traces/funnelarea/plot.js:206–212  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

204 var sumSteps = v0 / v1;
205
206 function calcPos() {
207 var q = Math.sqrt(sumSteps);
208 return {
209 x: q,
210 y: -q
211 };
212 }
213
214 function getPoint() {
215 var pos = calcPos();

Callers 1

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