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

Function writeNumber

src/traces/indicator/plot.js:580–587  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

578 var number = numbers.select('text.number');
579
580 function writeNumber() {
581 var txt = typeof cd[0].y === 'number' ?
582 bignumberPrefix + bignumberFmt(cd[0].y) + bignumberSuffix :
583 '-';
584 number.text(txt)
585 .call(Drawing.font, trace.number.font)
586 .call(svgTextUtils.convertToTspans, gd);
587 }
588
589 if(hasTransition(transitionOpts)) {
590 number

Callers 1

drawBignumberFunction · 0.85

Calls 1

bignumberFmtFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…