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

Function extract

test/jasmine/tests/sunburst_test.js:202–209  ·  view source on GitHub ↗
(k)

Source from the content-addressed store, hash-verified

200 }
201
202 function extract(k) {
203 var out = gd.calcdata.map(function (cd) {
204 return cd.map(function (pt) {
205 return pt[k];
206 });
207 });
208 return out.length > 1 ? out : out[0];
209 }
210
211 function extractPt(k) {
212 var out = gd.calcdata.map(function (cd) {

Callers 1

sunburst_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…