HighCharts turn animation false for line chart

GraphHighcharts

Graph Problem Overview


I'm new to highCharts and want to know how I can turn off the animation for line charts.

I've tried setting it to false in plotlines but no success.

Graph Solutions


Solution 1 - Graph

It's the same that I answered here but you have to change column to line.

plotOptions: {
    line: {
        animation: false
    }
}

demo

If you want to remove animation from all types you can use series instead.

plotOptions: {
    series: {
        animation: false
    }
}

Solution 2 - Graph

If you want to completely disable all animations in Highcharts (also these happening when toggling lines on or off) use the following:

chart: {
    animation: false
}

See http://api.highcharts.com/highcharts#chart.animation for more information. (demo)

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
Questionuser1869421View Question on Stackoverflow
Solution 1 - GraphRicardo Alvaro LohmannView Answer on Stackoverflow
Solution 2 - GraphCorstian BoermanView Answer on Stackoverflow