开发者

How to control spaces/margin between bars?

I can't seem to find how to control spaces/margin between bars. I am trying to add 10px space between every bar. I could do this with CSS, thou开发者_运维技巧gh, this does not sound like a valid approach.

API documentation: http://people.iola.dk/olau/flot/API.txt


Actually, you can have control over the bar width simply decreasing the number of hours in the day. This can be achieved using:

barWidth: [number of hours] * 60 * 60 * 1000

Making [number of hours] anything below 24 will create spaces between the tabs.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜