mirror of
				https://github.com/ClusterCockpit/cc-backend
				synced 2025-11-04 01:25:06 +01:00 
			
		
		
		
	Disable chart.js animations
This commit is contained in:
		web/frontend/src/plots
@@ -55,6 +55,7 @@
 | 
			
		||||
 | 
			
		||||
    const options = { 
 | 
			
		||||
        maintainAspectRatio: false,
 | 
			
		||||
        animation: false,
 | 
			
		||||
        plugins: {
 | 
			
		||||
            legend: {
 | 
			
		||||
                display: displayLegend
 | 
			
		||||
 
 | 
			
		||||
@@ -89,6 +89,7 @@
 | 
			
		||||
    // No custom defined options but keep for clarity 
 | 
			
		||||
    const options = {
 | 
			
		||||
        maintainAspectRatio: false,
 | 
			
		||||
        animation: false
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
</script>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user