Disable animation or change it ? #71
-
|
Hi, Great chart, i was looking at this one https://chartjs-chart-matrix.pages.dev/samples/time.html The animation kind of grows from the top left to the bottom right. Is there any way to disable it or change the animation type ? I was looking the code/variables in the above link but I didn't see anything that could be changed. Thanks in advance |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
The animations are configured as in any chart.js chart: https://www.chartjs.org/docs/latest/configuration/animations.html TL;DR You can also try something like |
Beta Was this translation helpful? Give feedback.
-
|
Thanks. I will take a look |
Beta Was this translation helpful? Give feedback.
The animations are configured as in any chart.js chart: https://www.chartjs.org/docs/latest/configuration/animations.html
TL;DR
animations: falsein optionsYou can also try something like
animations: {x: {duration: 0}},, to disable only animations on x-direction (= the boxes drop down)