开发者

Change data start point in jQuery flot?

I'm using Flot to graph the clicks per minute for the first 60 minutes on short URLs made: http://cuthut开发者_运维技巧.com/RA5?.

As you can see it starts at minute 0 and goes to minute 59. My question is: how do I get the data to start at 1 and end at 59. In my JSON file the time numbers go from 1-50.

I set the flot options to have ticks from 0 - 60 in increments of 5.

Any help is appreciated. -Giles


can you set

xaxis.min = 1

in your options?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜