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

Function dimensionExtent

src/traces/parcoords/parcoords.js:37–42  ·  view source on GitHub ↗
(dimension)

Source from the content-addressed store, hash-verified

35}
36
37function dimensionExtent(dimension) {
38 var range = dimension.range;
39 return range ?
40 fixExtremes(range[0], range[1]) :
41 findExtremes(dimension.values, dimension._length);
42}
43
44function fixExtremes(lo, hi) {
45 if(isNaN(lo) || !isFinite(lo)) {

Callers 4

domainScaleFunction · 0.85
domainToPaddedUnitScaleFunction · 0.85
ordinalScaleFunction · 0.85
modelFunction · 0.85

Calls 2

fixExtremesFunction · 0.85
findExtremesFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…