MCPcopy
hub / github.com/plotly/plotly.js / extract

Function extract

test/jasmine/tests/treemap_test.js:339–346  ·  view source on GitHub ↗
(k)

Source from the content-addressed store, hash-verified

337 }
338
339 function extract(k) {
340 var out = gd.calcdata.map(function (cd) {
341 return cd.map(function (pt) {
342 return pt[k];
343 });
344 });
345 return out.length > 1 ? out : out[0];
346 }
347
348 function extractPt(k) {
349 var out = gd.calcdata.map(function (cd) {

Callers 1

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