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

Function getTextPosition

src/traces/bar/plot.js:997–1000  ·  view source on GitHub ↗
(trace, index)

Source from the content-addressed store, hash-verified

995}
996
997function getTextPosition(trace, index) {
998 var value = helpers.getValue(trace.textposition, index);
999 return helpers.coerceEnumerated(attributeTextPosition, value);
1000}
1001
1002function calcTexttemplate(fullLayout, cd, index, xa, ya) {
1003 var trace = cd[0].trace;

Callers 1

appendBarTextFunction · 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…