X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/09c67d9323c7d379d4c6de5dc0457b6de16cff14..814ebbe864806750e95c3df954a47f4b0007c5e4:/vendor/plugins/gruff/lib/gruff/mini/pie.rb diff --git a/vendor/plugins/gruff/lib/gruff/mini/pie.rb b/vendor/plugins/gruff/lib/gruff/mini/pie.rb deleted file mode 100644 index 7822ba5..0000000 --- a/vendor/plugins/gruff/lib/gruff/mini/pie.rb +++ /dev/null @@ -1,36 +0,0 @@ -## -# -# Makes a small pie graph suitable for display at 200px or even smaller. -# -module Gruff - module Mini - - class Pie < Gruff::Pie - - include Gruff::Mini::Legend - - def initialize_ivars - super - - @hide_legend = true - @hide_title = true - @hide_line_numbers = true - - @marker_font_size = 60.0 - @legend_font_size = 60.0 - end - - def draw - expand_canvas_for_vertical_legend - - super - - draw_vertical_legend - - @d.draw(@base_image) - end # def draw - - end # class Pie - - end -end