(unitRanges, height)
| 95 | } |
| 96 | |
| 97 | function unitToPx(unitRanges, height) { |
| 98 | return unitRanges.map(function(pr) { |
| 99 | return pr.map(function(v) { return Math.max(0, v * height); }).sort(sortAsc); |
| 100 | }); |
| 101 | } |
| 102 | |
| 103 | // is the cursor over the north, middle, or south of a bar? |
| 104 | // the end handles extend over the last 10% of the bar |
no outgoing calls
no test coverage detected
searching dependent graphs…