55

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.

vvvvv
  • 25,404
  • 19
  • 49
  • 81
user1869421
  • 837
  • 5
  • 14
  • 22

2 Answers2

128

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
    }
}
Ricardo Alvaro Lohmann
  • 26,031
  • 7
  • 82
  • 82
18

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)

Corstian Boerman
  • 848
  • 14
  • 32
  • 2
    > The only animation not affected by this option is the initial series animation, see plotOptions.series.animation So I believe this should work along with the `series` one in the other answer – s3v3n Jan 09 '17 at 15:38