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

Function toText

src/traces/parcoords/parcoords.js:69–78  ·  view source on GitHub ↗
(formatter, texts)

Source from the content-addressed store, hash-verified

67}
68
69function toText(formatter, texts) {
70 if(texts) {
71 return function(v, i) {
72 var text = texts[i];
73 if(text === null || text === undefined) return formatter(v);
74 return text;
75 };
76 }
77 return formatter;
78}
79
80function domainScale(height, padding, dimension, tickvals, ticktext) {
81 var extent = dimensionExtent(dimension);

Callers 1

domainScaleFunction · 0.85

Calls 1

formatterFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…