(eventData, poly)
| 496 | } |
| 497 | |
| 498 | var fillRangeItems = function(eventData, poly) { |
| 499 | if(poly.isRect) { |
| 500 | var ranges = eventData.range = {}; |
| 501 | ranges[_this.id] = [ |
| 502 | invert([poly.xmin, poly.ymin]), |
| 503 | invert([poly.xmax, poly.ymax]) |
| 504 | ]; |
| 505 | } else { |
| 506 | var dataPts = eventData.lassoPoints = {}; |
| 507 | dataPts[_this.id] = poly.map(invert); |
| 508 | } |
| 509 | }; |
| 510 | |
| 511 | // Note: dragOptions is needed to be declared for all dragmodes because |
| 512 | // it's the object that holds persistent selection state. |
no test coverage detected
searching dependent graphs…