MCPcopy Create free account
hub / github.com/microsoft/SandDance / getValue

Function getValue

docs/tests/v2/umd/js/qualBarChartTest.js:5–13  ·  view source on GitHub ↗
(i)

Source from the content-addressed store, hash-verified

3 SandDance.use(vega, deck, deck, luma);
4 qualBarChartTest.viewer = new SandDance.Viewer(document.getElementById('vis'));
5 function getValue(i) {
6 if (i < 20)
7 return 0;
8 if (i < 25)
9 return 1;
10 if (i < 35)
11 return 2;
12 return 3;
13 }
14 var data = [];
15 for (var i = 0; i < 70; i++) {
16 var v = getValue(i);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected