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

Function drawArc

src/traces/indicator/plot.js:374–381  ·  view source on GitHub ↗
(p)

Source from the content-addressed store, hash-verified

372 }
373
374 function drawArc(p) {
375 p
376 .attr('d', function(d) {
377 return arcPathGenerator(d.thickness)
378 .startAngle(valueToAngle(d.range[0]))
379 .endAngle(valueToAngle(d.range[1]))();
380 });
381 }
382
383 // preparing axis
384 var ax, vals, transFn, tickSign;

Callers

nothing calls this directly

Calls 2

arcPathGeneratorFunction · 0.85
valueToAngleFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…