From: Date: Thu, 9 Aug 2007 02:03:49 +0000 (-0400) Subject: Updated the "votes_per_day" method in graph controller to work better and X-Git-Url: https://projects.mako.cc/source/selectricity/commitdiff_plain/c405443c19a18c645aacc16848502f5b91461feb?hp=c405443c19a18c645aacc16848502f5b91461feb Updated the "votes_per_day" method in graph controller to work better and read easier. Also, with Mako's insistence and help, wrote the "votes_per_interval" method (and helpers) in graph controller. The worst part of that method is when I assign names to the labels_hash, ideas welcome, but it works for now. Even though the graph uses fixed intervals and is named "votes_per_interval" it actually shows votes over time (per interval), so I may rename it in the near future (in fact I would've renamed it for this commit, but I didn't think till I was writing this statement.) ---