X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/ffec26b00fc14b92f82137e1e3c62ce78c93ea24..171c0354e74b4fdd73e25ea05f5b2d23c0d1642f:/app/controllers/graph_controller.rb?ds=sidebyside diff --git a/app/controllers/graph_controller.rb b/app/controllers/graph_controller.rb index 814eb36..ff29d8e 100644 --- a/app/controllers/graph_controller.rb +++ b/app/controllers/graph_controller.rb @@ -133,7 +133,7 @@ class GraphController < ApplicationController data[names[candidate]] = votes end - pie = GruffGraff.new ( :graph_type => Gruff::Pie, + pie = GruffGraff.new( :graph_type => Gruff::Pie, :title => "Percentage of First Place Votes", :data => data) send_data(*pie.output)