Highcharts - 缩放到secounds? [英] Highcharts - Zoom to secounds?

查看:162
本文介绍了Highcharts - 缩放到secounds?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的系列数据如下所示:

  [Date.UTC(2017,03,25,09,32,21 ),0.7695],
//Date.UTC(yyyy,MM,dd,hh,mm,ss)
...
...

但我只能放大到日期......



你可以设置



<$>

$ b <$ p

$ b $ pre> tickInterval:1000

和mingRange至少为1000(1第二位)

  minRange:1000 

我用一个缩放按钮制作了一个小提琴,左侧图表的下方,放大到显示秒的图表中心,或者您可以手动缩放多次,直到看到秒(约5-6次)
http://jsfiddle.net/vv0weLcn/5/

我使用的数据是您的出发点,然后我加了1小时100次

My series data looks like this:

[Date.UTC(2017,03,25,09,32,21),0.7695],
//Date.UTC(yyyy,MM,dd,hh,mm,ss)
...
...

but I can only zoom till the days......

How can i zomm till the secounds?

解决方案

You need to set

tickInterval: 1000

and mingRange to at least 1000(1 second)

minRange: 1000

I made a fiddle with a zoom button, right bellow the chart to the left, that will zoom to the center of the chart showing the seconds, or you can manually zoom multiple times until you can see the seconds(about 5-6 times) http://jsfiddle.net/vv0weLcn/5/

The data i used was your starting point, then i added 1 hour, 100 times

这篇关于Highcharts - 缩放到secounds?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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