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

Function extremeText

src/traces/parcoords/parcoords.js:431–437  ·  view source on GitHub ↗
(d, isTop)

Source from the content-addressed store, hash-verified

429}
430
431function extremeText(d, isTop) {
432 if(d.ordinal) return '';
433 var domain = d.domainScale.domain();
434 var v = (domain[isTop ? domain.length - 1 : 0]);
435
436 return linearFormat(d.model.dimensions[d.visibleIndex], v);
437}
438
439
440module.exports = function parcoords(gd, cdModule, layout, callbacks) {

Callers 1

parcoords.jsFile · 0.85

Calls 1

linearFormatFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…