novus / nvd3

A reusable charting library written in d3.js
http://nvd3.org/
Other
7.22k stars 2.14k forks source link

Duration doesn't appear to have any affect on pieChart donut #2209

Open Murkantilism opened 5 years ago

Murkantilism commented 5 years ago

NVD3 version used: v1.8.6

Browser and OS used: Chrome, Win 7

I recently upgraded our nvd3 from v1.8.2 to v1.8.6 so we'd get this bugfix for duration not working on pieCharts. However it seems that it has had no affect, no matter what I set my donut chart's duration to it animates instantly.

While I realize angular-nvd3 is a separate library, these are the plunkers I could find to show the problem:

When I tinker with the angular-nvd3 pieChart example here, and a plunker here, in a similar vein duration doesn't appear to affect the speed at which the slices of the pie will animate when you toggle other slices on/off (although in that example, there is an animation to begin with unlike my donut, but the speed of it doesn't change no matter what I set duration to).

Is there a known issue in nvd3 where duration has no affect on pie charts per chance?