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

Function makeXY

test/jasmine/tests/scattergl_test.js:663–671  ·  view source on GitHub ↗
(n)

Source from the content-addressed store, hash-verified

661 var config = { plotGlPixelRatio: 1 };
662
663 function makeXY(n) {
664 var x = [];
665 var y = [];
666 for (var i = 0; i < n; i++) {
667 x.push(i);
668 y.push(i * i);
669 }
670 return { x: x, y: y };
671 }
672
673 var xy0 = makeXY(0);
674 var xy10 = makeXY(10);

Callers 1

scattergl_test.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…