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

Function _calc

test/jasmine/tests/sunburst_test.js:189–200  ·  view source on GitHub ↗
(opts, layout)

Source from the content-addressed store, hash-verified

187 });
188
189 function _calc(opts, layout) {
190 gd = {};
191 opts = Array.isArray(opts) ? opts : [opts];
192
193 gd.data = opts.map(function (o) {
194 return Lib.extendFlat({ type: 'sunburst' }, o || {});
195 });
196 gd.layout = layout || {};
197
198 supplyAllDefaults(gd);
199 Plots.doCalcdata(gd);
200 }
201
202 function extract(k) {
203 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…