(gd, xval, yval, hovermode)
| 362 | afterAll(destroyGraphDiv); |
| 363 | |
| 364 | function _hover(gd, xval, yval, hovermode) { |
| 365 | var cd = gd.calcdata; |
| 366 | var ternary = gd._fullLayout.ternary._subplot; |
| 367 | |
| 368 | var pointData = { |
| 369 | index: false, |
| 370 | distance: 20, |
| 371 | cd: cd[0], |
| 372 | trace: cd[0][0].trace, |
| 373 | xa: ternary.xaxis, |
| 374 | ya: ternary.yaxis, |
| 375 | subplot: ternary |
| 376 | }; |
| 377 | |
| 378 | return ScatterTernary.hoverPoints(pointData, xval, yval, hovermode); |
| 379 | } |
| 380 | |
| 381 | it('should generate extra text field on hover', function(done) { |
| 382 | var xval = 0.42; |
no outgoing calls
no test coverage detected
searching dependent graphs…