Toggle Chart Animations

This feature is only available in ESP-DASH Pro
You can enable/disable chart animations with ease using the setChartAnimations
function of ESPDash class. This is particularly helpful if you are updating your charts at an very fast pace.
💡
Chart animations are enabled by default.
Usage
You can put this function anywhere in your setup block:
Enable
dashboard.setChartAnimations(true); // Enable Chart Animations
Disble
dashboard.setChartAnimations(false); // Disable Chart Animations