MCPcopy Create free account
hub / github.com/plotly/plotly.js / toDataCoords

Function toDataCoords

src/traces/isosurface/convert.js:80–84  ·  view source on GitHub ↗
(axis, coord, scale, calendar)

Source from the content-addressed store, hash-verified

78
79 // Unpack position data
80 function toDataCoords(axis, coord, scale, calendar) {
81 return coord.map(function(x) {
82 return axis.d2l(x, 0, calendar) * scale;
83 });
84 }
85
86 var positions = zip3(
87 toDataCoords(layout.xaxis, data._meshX, scene.dataScale[0], data.xcalendar),

Callers 1

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