Part No. 1, you indicated the minimum value 0 in your fleet parameters, and your data point No. 2 has a value of 0. So it is there, but very small, almost invisible.
Part number 2, you must compensate for your dates in the time zone of users:
Something like that:
var tzOffset = new Date(); tzOffset = tzOffset.getTimezoneOffset()*60*1000; data.push([(new Date("2012/02/20").getTime()-tzOffset), 1]);
Part number 3. Your graph is a mess because you specified width
when this parameter was barWidth
, and you need to specify the width in terms of time, i.e. milliseconds. See here . Something like barWidth: 12*60*60*1000
looks fine.
So, in the end, it will look like this: http://jsfiddle.net/ncTd3/
source share