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

Function writeDelta

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

Source from the content-addressed store, hash-verified

640 .call(Color.fill, deltaFill({delta: trace._deltaLastValue}));
641
642 function writeDelta() {
643 delta.text(deltaFormatText(deltaValue(cd[0]), deltaFmt))
644 .call(Color.fill, deltaFill(cd[0]))
645 .call(svgTextUtils.convertToTspans, gd);
646 }
647
648 if(hasTransition(transitionOpts)) {
649 delta

Callers 1

drawDeltaFunction · 0.85

Calls 3

deltaFormatTextFunction · 0.85
deltaValueFunction · 0.85
deltaFillFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…