(zb, corners, dimmed, lum)
| 1190 | } |
| 1191 | |
| 1192 | function transitionZoombox(zb, corners, dimmed, lum) { |
| 1193 | if(!dimmed) { |
| 1194 | zb.transition() |
| 1195 | .style('fill', lum > 0.2 ? 'rgba(0,0,0,0.4)' : |
| 1196 | 'rgba(255,255,255,0.3)') |
| 1197 | .duration(200); |
| 1198 | corners.transition() |
| 1199 | .style('opacity', 1) |
| 1200 | .duration(200); |
| 1201 | } |
| 1202 | } |
| 1203 | |
| 1204 | function removeZoombox(gd) { |
| 1205 | d3.select(gd) |
no outgoing calls
no test coverage detected
searching dependent graphs…