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

Function line

stackgl_modules/index.js:21854–21868  ·  view source on GitHub ↗
(x,y,z,i,l,h)

Source from the content-addressed store, hash-verified

21852 var data = [ ]
21853
21854 function line(x,y,z,i,l,h) {
21855 var row = [x,y,z, 0,0,0, 1]
21856 row[i+3] = 1
21857 row[i] = l
21858 data.push.apply(data, row)
21859 row[6] = -1
21860 data.push.apply(data, row)
21861 row[i] = h
21862 data.push.apply(data, row)
21863 data.push.apply(data, row)
21864 row[6] = 1
21865 data.push.apply(data, row)
21866 row[i] = l
21867 data.push.apply(data, row)
21868 }
21869
21870 line(0,0,0, 0, 0, 1)
21871 line(0,0,0, 1, 0, 1)

Callers 1

createSpikesFunction · 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…