(x)
| 119 | function position(x) { return projection.invert(x); } |
| 120 | |
| 121 | function outside(x) { |
| 122 | var pos = position(x); |
| 123 | if(!pos) return true; |
| 124 | |
| 125 | var pt = projection(pos); |
| 126 | return ( |
| 127 | Math.abs(pt[0] - x[0]) > INSIDETOLORANCEPXS || |
| 128 | Math.abs(pt[1] - x[1]) > INSIDETOLORANCEPXS |
| 129 | ); |
| 130 | } |
| 131 | |
| 132 | function handleZoomstart() { |
| 133 | d3.select(this).style(zoomstartStyle); |
no test coverage detected
searching dependent graphs…