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

Function binsToCalc

src/traces/histogram2d/calc.js:188–194  ·  view source on GitHub ↗
(r2c, bins)

Source from the content-addressed store, hash-verified

186}
187
188function binsToCalc(r2c, bins) {
189 return {
190 start: r2c(bins.start),
191 end: r2c(bins.end),
192 size: bins.size
193 };
194}
195
196function getRanges(edges, uniqueVals, gapLow, gapHigh, ax, calendar) {
197 var i;

Callers 1

calc.jsFile · 0.85

Calls 1

r2cFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…