(markerDisplay, textDisplay, barTextDisplay)
| 217 | |
| 218 | it('should show/hide `cliponaxis: false` pts according to range', function(done) { |
| 219 | function _assert(markerDisplay, textDisplay, barTextDisplay) { |
| 220 | var gd3 = d3Select(gd); |
| 221 | |
| 222 | assertNodeDisplay( |
| 223 | gd3.select('.scatterlayer').selectAll('.point'), |
| 224 | markerDisplay, |
| 225 | 'marker pts' |
| 226 | ); |
| 227 | assertNodeDisplay( |
| 228 | gd3.select('.scatterlayer').selectAll('.textpoint'), |
| 229 | textDisplay, |
| 230 | 'text pts' |
| 231 | ); |
| 232 | assertNodeDisplay( |
| 233 | gd3.select('.barlayer').selectAll('.bartext'), |
| 234 | barTextDisplay, |
| 235 | 'bar text' |
| 236 | ); |
| 237 | } |
| 238 | |
| 239 | function _run(p0, p1, markerDisplay, textDisplay, barTextDisplay) { |
| 240 | var fns = drag.makeFns({pos0: p0, posN: p1}); |
no test coverage detected
searching dependent graphs…