Permalink
Browse files

Add @hide_labels_less_than to Pie graph. Allows labels less than a ce…

…rtain % to be hiden. 0 is the default (all labels show), or 100 can be used to hide all labels.
  • Loading branch information...
1 parent b86b6a6 commit 399905d722a95d365b277f2e8205da321ea74c28 @jjulian jjulian committed Aug 29, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/gruff/pie.rb
View
@@ -25,7 +25,7 @@ class Gruff::Pie < Gruff::Base
def initialize_ivars
super
@zero_degree = 0.0
- @hide_labels_less_than = 0
+ @hide_labels_less_than = 0.0
end
def draw

0 comments on commit 399905d

Please sign in to comment.