put 'today' in the middle of the bar

This commit is contained in:
Damien Elmes 2011-03-21 17:11:58 +09:00
parent c9c7b8c25b
commit 2dc9878435

View file

@ -51,7 +51,7 @@ $(function () {
$.plot($("#placeholder"), [ $.plot($("#placeholder"), [
{ data: d, bars: { show: true, barWidth: 0.8 } } { data: d, bars: { show: true, barWidth: 0.8 } }
], { ], {
xaxis: { ticks: [[0.5, "Today"]] } xaxis: { ticks: [[0.4, "Today"]] }
}); });
}); });
</script> </script>