Question

I'm using the nvd3.js multibar chart (http://nvd3.org/), and everything is great other than the speed of the transition from grouped bar chart to stacked bar chart, which is too slow for my tastes. The lack of nvd3.js documentation is causing me some pain, and I can't figure out how to reduce the duration of these (really cool) transitions. anybody know how? Thankee, SO.

Was it helpful?

Solution

There's a method transitionDuration() to set this, i.e. you can do

chart.transitionDuration(100);

to speed it up from the default of 250.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top