gruff 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/gruff/base.rb +2 -2
- data/lib/gruff/pie.rb +1 -1
- data/lib/gruff/side_stacked_bar.rb +1 -1
- metadata +1 -1
data/lib/gruff/base.rb
CHANGED
@@ -17,7 +17,7 @@ require 'yaml'
|
|
17
17
|
|
18
18
|
module Gruff
|
19
19
|
|
20
|
-
VERSION = '0.0.
|
20
|
+
VERSION = '0.0.9'
|
21
21
|
|
22
22
|
class Base
|
23
23
|
|
@@ -376,7 +376,7 @@ protected
|
|
376
376
|
##
|
377
377
|
# Draws column labels below graph, centered over x_offset
|
378
378
|
def draw_label(x_offset, index)
|
379
|
-
return
|
379
|
+
return if @hide_line_markers
|
380
380
|
|
381
381
|
if !@labels[index].nil? && @labels_seen[index].nil?
|
382
382
|
@d.fill = @marker_color
|
data/lib/gruff/pie.rb
CHANGED
@@ -10,7 +10,7 @@ class Gruff::SideStackedBar < Gruff::Base
|
|
10
10
|
# instead of base class version, draws vertical background lines and label
|
11
11
|
def draw_line_markers
|
12
12
|
|
13
|
-
return
|
13
|
+
return if @hide_line_markers
|
14
14
|
|
15
15
|
# Draw horizontal line markers and annotate with numbers
|
16
16
|
@d = @d.stroke(@marker_color)
|