]> projects.mako.cc - selectricity/blob - lib/gruff-0.2.8/lib/gruff/mini/side_bar.rb
the embeddable widgets now grow or shrink to accomodate more candidates, there are...
[selectricity] / lib / gruff-0.2.8 / lib / gruff / mini / side_bar.rb
1 ##
2 #
3 # Makes a small pie graph suitable for display at 200px or even smaller.
4 #
5 module Gruff
6   module Mini
7
8     class SideBar < Gruff::SideBar
9
10       def initialize_ivars
11         super
12         @hide_legend = true
13         @hide_title = true
14         @hide_line_numbers = true
15
16         @marker_font_size = 50.0
17       end
18       
19     end
20   
21   end
22 end

Benjamin Mako Hill || Want to submit a patch?