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

Function makePtIndex2PtNumber

src/lib/index.js:588–597  ·  view source on GitHub ↗
(indexToPoints)

Source from the content-addressed store, hash-verified

586};
587
588function makePtIndex2PtNumber(indexToPoints) {
589 var ptIndex2ptNumber = {};
590 for (var k in indexToPoints) {
591 var pts = indexToPoints[k];
592 for (var j = 0; j < pts.length; j++) {
593 ptIndex2ptNumber[pts[j]] = +k;
594 }
595 }
596 return ptIndex2ptNumber;
597}
598
599/** Tag selected calcdata items
600 *

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…