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

Function createConeTrace

src/traces/cone/convert.js:127–141  ·  view source on GitHub ↗
(scene, data)

Source from the content-addressed store, hash-verified

125};
126
127function createConeTrace(scene, data) {
128 var gl = scene.glplot.gl;
129
130 var meshData = convert(scene, data);
131 var mesh = createConeMesh(gl, meshData);
132
133 var cone = new Cone(scene, data.uid);
134 cone.mesh = mesh;
135 cone.data = data;
136 mesh._trace = cone;
137
138 scene.glplot.add(mesh);
139
140 return cone;
141}
142
143module.exports = createConeTrace;

Callers

nothing calls this directly

Calls 1

convertFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…