Disable chart.js animations

This commit is contained in:
Christoph Kluge 2023-08-11 11:42:30 +02:00
parent c04344bfde
commit f758e52ccd
2 changed files with 2 additions and 0 deletions

View File

@ -55,6 +55,7 @@
const options = { const options = {
maintainAspectRatio: false, maintainAspectRatio: false,
animation: false,
plugins: { plugins: {
legend: { legend: {
display: displayLegend display: displayLegend

View File

@ -89,6 +89,7 @@
// No custom defined options but keep for clarity // No custom defined options but keep for clarity
const options = { const options = {
maintainAspectRatio: false, maintainAspectRatio: false,
animation: false
} }
</script> </script>