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

Function unitToPaddedPx

src/traces/parcoords/parcoords.js:97–99  ·  view source on GitHub ↗
(height, padding)

Source from the content-addressed store, hash-verified

95}
96
97function unitToPaddedPx(height, padding) {
98 return d3.scale.linear().range([padding, height - padding]);
99}
100
101function domainToPaddedUnitScale(dimension, padFraction) {
102 return d3.scale.linear()

Callers 1

viewModelFunction · 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…