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.
精彩评论