Chartjs-How to set ChartJS animation speed?

0👍

I solved this. The problem was that the closing <style/> tag in my Component was missing. The styles were applied once it was added, and setting Chart.defaults.global.animation.duration now works as expected.

Leave a comment