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

Function _supply

test/jasmine/tests/funnelarea_test.js:41–50  ·  view source on GitHub ↗
(trace, layout)

Source from the content-addressed store, hash-verified

39
40describe('Funnelarea defaults', function() {
41 function _supply(trace, layout) {
42 var gd = {
43 data: [trace],
44 layout: layout || {}
45 };
46
47 supplyAllDefaults(gd);
48
49 return gd._fullData[0];
50 }
51
52 it('finds the minimum length of labels & values', function() {
53 var out = _supply({type: 'funnelarea', labels: ['A', 'B'], values: [1, 2, 3]});

Callers 1

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