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

Function getTargetX

src/traces/sunburst/plot.js:177–179  ·  view source on GitHub ↗
(d)

Source from the content-addressed store, hash-verified

175 // slice text translate x/y
176
177 var getTargetX = function (d) {
178 return cx + getTextXY(d)[0] * (d.transform.rCenter || 0) + (d.transform.x || 0);
179 };
180 var getTargetY = function (d) {
181 return cy + getTextXY(d)[1] * (d.transform.rCenter || 0) + (d.transform.y || 0);
182 };

Callers 2

plotOneFunction · 0.85

Calls 1

getTextXYFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…