简体   繁体   中英

How to speed up multiBarChart transitions?

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.

There's a method transitionDuration() to set this, ie you can do

chart.transitionDuration(100);

to speed it up from the default of 250.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM