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

Function getMarkerStandoff

src/components/drawing/index.js:1828–1843  ·  view source on GitHub ↗
(d, trace)

Source from the content-addressed store, hash-verified

1826};
1827
1828function getMarkerStandoff(d, trace) {
1829 var standoff;
1830
1831 if (d) standoff = d.mf;
1832
1833 if (standoff === undefined) {
1834 standoff = trace.marker ? trace.marker.standoff || 0 : 0;
1835 }
1836
1837 if (!trace._geo && !trace._xA) {
1838 // case of legends
1839 return -standoff;
1840 }
1841
1842 return standoff;
1843}
1844
1845drawing.getMarkerStandoff = getMarkerStandoff;
1846

Callers 1

index.jsFile · 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…