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

Function getKeyFunc

src/traces/bar/plot.js:33–37  ·  view source on GitHub ↗
(trace)

Source from the content-addressed store, hash-verified

31 return d.id;
32}
33function getKeyFunc(trace) {
34 if (trace.ids) {
35 return keyFunc;
36 }
37}
38
39// Returns -1 if v < 0, 1 if v > 0, and 0 if v == 0
40function sign(v) {

Callers 1

plotFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…