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

Function fromDataScale

src/traces/streamtube/convert.js:26–30  ·  view source on GitHub ↗
(v, axisName)

Source from the content-addressed store, hash-verified

24 var dataScale = this.scene.dataScale;
25
26 function fromDataScale(v, axisName) {
27 var ax = sceneLayout[axisName];
28 var scale = dataScale[axisName2scaleIndex[axisName]];
29 return ax.l2c(v) / scale;
30 }
31
32 if(selection.object === this.mesh) {
33 var pos = selection.data.position;

Callers 1

convert.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…