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

Function pathSlice

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

Source from the content-addressed store, hash-verified

170 };
171 // slice path generation fn
172 var pathSlice = function (d) {
173 return Lib.pathAnnulus(d.rpx0, d.rpx1, d.x0, d.x1, cx, cy);
174 };
175 // slice text translate x/y
176
177 var getTargetX = function (d) {

Callers 5

plotOneFunction · 0.85
draw_ancestors.jsFile · 0.85
handleSlicesExitFunction · 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…