fixed issue with pie chart transitions

master
Tyler Wolf 11 years ago
parent 47fabca15f
commit 36bd0696c5

@ -10347,7 +10347,8 @@ nv.models.pie = function() {
.each(function(d) { this._current = d; });
//.attr('d', arc);
d3.transition(slices.select('path'))
slices.select('path')
.transition()
.attr('d', arc)
.attrTween('d', arcTween);

@ -137,7 +137,8 @@ nv.models.pie = function() {
.each(function(d) { this._current = d; });
//.attr('d', arc);
d3.transition(slices.select('path'))
slices.select('path')
.transition()
.attr('d', arc)
.attrTween('d', arcTween);

Loading…
Cancel
Save