HighCharts将折线动画设为虚线 [英] HighCharts turn animation false for line chart
本文介绍了HighCharts将折线动画设为虚线的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我是highCharts的新手,想知道如何关闭折线图的动画。
我试图在plotlines中将它设置为false,但没有成功。
谢谢 解决方案
此处,但您必须将列
更改为行
。
plotOptions:{
line:{
animation:假
}
}
如果您想从所有类型中移除动画,可以使用<$ c $
plotOptions:{
b $ b动画:false
series:{$ c> series
}
}
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.
Thanks
解决方案
It's the same that I answered here but you have to change column
to line
.
plotOptions: {
line: {
animation: false
}
}
If you want to remove animation from all types you can use series
instead.
plotOptions: {
series: {
animation: false
}
}
这篇关于HighCharts将折线动画设为虚线的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文