]> projects.mako.cc - selectricity/commit
Added the choices position and get_posititons_info to graph controller. Right now...
author<jlsharps@mit.edu> <>
Tue, 14 Aug 2007 08:04:36 +0000 (04:04 -0400)
committer<jlsharps@mit.edu> <>
Tue, 14 Aug 2007 08:04:36 +0000 (04:04 -0400)
commit45d47676ca3cc1c19b457f83a9482ba8b906f829
tree9e6af54ea9c6437b0d5cd6c3788fd6067b56021f
parentdf63c9c4ae43801e1a0172db225ca6029512f54f
Added the choices position and get_posititons_info to graph controller. Right now, since
the graph graphs a different set of data for each candidate, the data function has to be
called multiple times and I'm not sure how to do it/if it's possible within the class
definition. As such, I've defined everything within the choices_position method for now.
I'll be trying to figure out the kinks next. Overall, the graph is very  confusing and
might not be very useful in the end, but the data it uses is.
app/controllers/graph_controller.rb
app/views/quickvote/results.rhtml

Benjamin Mako Hill || Want to submit a patch?