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

Function getFullTraceIndexFromUid

src/plot_api/plot_api.js:2396–2401  ·  view source on GitHub ↗
(uid, fullData)

Source from the content-addressed store, hash-verified

2394}
2395
2396function getFullTraceIndexFromUid(uid, fullData) {
2397 for (var i = 0; i < fullData.length; i++) {
2398 if (fullData[i]._fullInput.uid === uid) return i;
2399 }
2400 return -1;
2401}
2402
2403function getTraceIndexFromUid(uid, data, tracei) {
2404 for (var i = 0; i < data.length; i++) {

Callers 1

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