Added the Gruff library to the lib/ directory of the the rails folder, and the
[selectricity-live] / lib / gruff-0.2.8 / lib / gruff / mini / side_bar.rb
diff --git a/lib/gruff-0.2.8/lib/gruff/mini/side_bar.rb b/lib/gruff-0.2.8/lib/gruff/mini/side_bar.rb
new file mode 100644 (file)
index 0000000..9774a50
--- /dev/null
@@ -0,0 +1,22 @@
+##
+#
+# Makes a small pie graph suitable for display at 200px or even smaller.
+#
+module Gruff
+  module Mini
+
+    class SideBar < Gruff::SideBar
+
+      def initialize_ivars
+        super
+        @hide_legend = true
+        @hide_title = true
+        @hide_line_numbers = true
+
+        @marker_font_size = 50.0
+      end
+      
+    end
+  
+  end
+end

Benjamin Mako Hill || Want to submit a patch?