MCPcopy Create free account
hub / github.com/microsoft/SandDance / lookup$1

Function lookup$1

docs/app/js/sanddance-app.js:120600–120603  ·  view source on GitHub ↗
(config, orient)

Source from the content-addressed store, hash-verified

120598 view.dirty(g);
120599}
120600function lookup$1(config, orient) {
120601 const opt = config[orient] || {};
120602 return (key, d)=>opt[key] != null ? opt[key] : config[key] != null ? config[key] : d;
120603} // if legends specify offset directly, use the maximum specified value
120604function offsets(legends, value) {
120605 let max1 = -Infinity;
120606 legends.forEach((item)=>{

Callers 1

legendParamsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected