(arc, endAngle, newAngle)
| 796 | // Returns a tween for a transition’s "d" attribute, transitioning any selected |
| 797 | // arcs from their current angle to the specified new angle. |
| 798 | function arcTween(arc, endAngle, newAngle) { |
| 799 | return function() { |
| 800 | var interp = interpolate(endAngle, newAngle); |
| 801 | return function(t) { |
| 802 | return arc.endAngle(interp(t))(); |
| 803 | }; |
| 804 | }; |
| 805 | } |
| 806 | |
| 807 | // mocks our axis |
| 808 | function mockAxis(gd, opts, zrange) { |
no test coverage detected
searching dependent graphs…