(xy)
| 624 | |
| 625 | it('@gl data-referenced annotations should update on drag', function(done) { |
| 626 | function assertAnnotation(xy) { |
| 627 | var ann = d3Select('g.annotation-text-g').select('g'); |
| 628 | var translate = Drawing.getTranslate(ann); |
| 629 | |
| 630 | expect(translate.x).toBeWithin(xy[0], 8); |
| 631 | expect(translate.y).toBeWithin(xy[1], 8); |
| 632 | } |
| 633 | |
| 634 | Plotly.newPlot(gd, [{ |
| 635 | type: 'scattergl', |
no outgoing calls
no test coverage detected
searching dependent graphs…