()
| 432 | } |
| 433 | |
| 434 | function computeZoomUpdates() { |
| 435 | updates = {}; |
| 436 | |
| 437 | // TODO: edit linked axes in zoomAxRanges and in dragTail |
| 438 | if(zoomMode === 'xy' || zoomMode === 'x') { |
| 439 | zoomAxRanges(xaxes, box.l / pw, box.r / pw, updates, links.xaxes); |
| 440 | updateMatchedAxRange('x', updates); |
| 441 | } |
| 442 | if(zoomMode === 'xy' || zoomMode === 'y') { |
| 443 | zoomAxRanges(yaxes, (ph - box.b) / ph, (ph - box.t) / ph, updates, links.yaxes); |
| 444 | updateMatchedAxRange('y', updates); |
| 445 | } |
| 446 | } |
| 447 | |
| 448 | function zoomDone() { |
| 449 | computeZoomUpdates(); |
no test coverage detected
searching dependent graphs…