# HG changeset patch # User Daniel O'Connor # Date 1369973156 -34200 # Node ID ebf411c89a3dd585a2e997a3dd6c4d36d3f4790b # Parent 294e6a7fbb6ecd9a3522f3a47ef2df5dc821ecac Fix bar width now we get data more frequently. diff -r 294e6a7fbb6e -r ebf411c89a3d static/iwws.js --- a/static/iwws.js Fri May 31 13:34:54 2013 +0930 +++ b/static/iwws.js Fri May 31 13:35:56 2013 +0930 @@ -119,7 +119,7 @@ $.plot($("#graph2"), [ { data : wavg, label: "Wind (Avg)", yaxis : 1, points : { show : true }, lines : { show : true }, direction : true }, { data : wgust, label: "Wind (Gust)", yaxis : 1, points : { show : true }, lines : { show : true }, direction : true }, - { data : rain, label: "Rain", yaxis : 2, bars : { show : true, barWidth : 0.5 * 60 * 60 * 1000, align : "centre" } }, + { data : rain, label: "Rain", yaxis : 2, bars : { show : true, barWidth : 5 * 60 * 1000, align : "centre" } }, ], { xaxis : { mode : 'time' }, legend : { backgroundOpacity : 0, position : 'nw' },