Refined the CSS and fixed some of the more recent issues.
[selectricity] / app / controllers / graph_controller.rb
index 814eb363c437a0074abea9113fdc7e30e4a1a455..b80b5d32e2605d99cad6ceaf6ac7f45f42a85db6 100644 (file)
@@ -74,7 +74,7 @@ class GraphController < ApplicationController
                             :data => data,
                             :interval_labels => labels,
                             :title => "Voters Over Time",
-                            :size => "700x400",
+                            :size => "270x230",
                             :x_axis_label => scale,
                             :y_axis_label => "Number of Votes")
     send_data(*graph.output)
@@ -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)

Benjamin Mako Hill || Want to submit a patch?