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

Function strTransform

src/traces/sunburst/plot.js:303–311  ·  view source on GitHub ↗
(d, textBB)

Source from the content-addressed store, hash-verified

301 pt.transform.targetY = getTargetY(pt);
302
303 var strTransform = function (d, textBB) {
304 var transform = d.transform;
305 computeTransform(transform, textBB);
306
307 transform.fontSize = font.size;
308 recordMinTextSize(trace.type, transform, fullLayout);
309
310 return Lib.getTextTransform(transform);
311 };
312
313 if (hasTransition) {
314 sliceText.transition().attrTween('transform', function (pt2) {

Callers 2

plotOneFunction · 0.70

Calls 2

computeTransformFunction · 0.85
recordMinTextSizeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…