HighCharts将折线动画设为虚线 [英] HighCharts turn animation false for line chart

查看:316
本文介绍了HighCharts将折线动画设为虚线的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是highCharts的新手,想知道如何关闭折线图的动画。



我试图在plotlines中将它设置为false,但没有成功。



谢谢 解决方案

此处,但您必须将更改为


  plotOptions:{
line:{
animation:假
}
}

demo



如果您想从所有类型中移除动画,可以使用<$ c $



  plotOptions:{
series:{$ c> series
b $ b动画:false
}
}


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
    }
}

demo

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

plotOptions: {
    series: {
        animation: false
    }
}

这篇关于HighCharts将折线动画设为虚线的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆