(d)
| 1142 | // d<0 is expanding (cursor is off the plot, axis end moves |
| 1143 | // nonlinearly so you can expand far) |
| 1144 | function dZoom(d) { |
| 1145 | return 1 - ((d >= 0) ? Math.min(d, 0.9) : |
| 1146 | 1 / (1 / Math.max(d, -0.3) + 3.222)); |
| 1147 | } |
| 1148 | |
| 1149 | function getDragCursor(nsew, dragmode, isMainDrag) { |
| 1150 | if(!nsew) return 'pointer'; |
no outgoing calls
no test coverage detected
searching dependent graphs…