开发者

Change data start point in jQuery flot?

开发者 https://www.devze.com 2022-12-11 11:52 出处:网络
I\'m using Flot to graph the clicks per minute for the first 60 minutes on short URLs made: http://cuthut开发者_运维技巧.com/RA5?.

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

精彩评论

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