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

Function makeCalcdata

src/traces/splom/calc.js:28–40  ·  view source on GitHub ↗
(ax, dim)

Source from the content-addressed store, hash-verified

26 var i, k, dim, xa, ya;
27
28 function makeCalcdata(ax, dim) {
29 // call makeCalcdata with fake input
30 var ccol = ax.makeCalcdata({
31 v: dim.values,
32 vcalendar: trace.calendar
33 }, 'v');
34
35 for(var j = 0; j < ccol.length; j++) {
36 ccol[j] = ccol[j] === BADNUM ? NaN : ccol[j];
37 }
38 cdata.push(ccol);
39 ldata.push(ax.type === 'log' ? Lib.simpleMap(ccol, ax.c2l) : ccol);
40 }
41
42 for(i = 0; i < dimensions.length; i++) {
43 dim = dimensions[i];

Callers 1

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