2
votes

I want to make the transition/animation effect when selecting/unselecting items longer, I'm trying to set the duration parameter of nvd3 pie chart to be something long like 10 seconds (or 10000 ms) but it has no effect on the pie chart,

I tried changing the duration value and I also tried to add transitionDuration property,

$scope.options = {
            chart: {
                type: 'pieChart',
                height: 500,
                x: function(d){return d.key;},
                y: function(d){return d.y;},
                showLabels: true,
                duration: 10000,
                transitionDuration: 10000
            }
        };

You can see the following example: http://plnkr.co/edit/vtKWU0?p=preview

1

1 Answers

1
votes

It looks like a bug in nvd3.

https://github.com/novus/nvd3/issues/1474#issuecomment-178333163

angular-nvd3 is a wrapper around nvd3.