Turning off animation in HighCharts globally

animation, highcharts, javascript

Solution

Yes, you have to use `Highcharts.setOptions`. This way you can set default options for all your charts.

Highcharts.setOptions({
    plotOptions: {
        series: {
            animation: false
        }
    }
});

http://api.highcharts.com/highstock#Highcharts

Problem

I am using HighCharts for producing multi-panel charts with multiple series. As far as I can tell, the only way to stop the animation is to use an ``` animation: false ``` atrribution for the plotOptions attribute set for each chart, and then again for each series. Is there a way of setting animaiton off by default for all charts drawn?

Original source