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?
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
if still not disabling the animation, after setting
plotOptions: {
series: {
animation: false
}
}
in highcharts.js
find
plotOptions : {
line : {
allowPointSelect : !1,
showCheckbox : !1,
animation : {
duration : 0
},
Here I have set the animation duration 0, it works :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With