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 CHANGED
@@ -17,7 +17,7 @@ require 'yaml'
17
17
 
18
18
  module Gruff
19
19
 
20
- VERSION = '0.0.8'
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 unless @show_line_markers
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
@@ -4,7 +4,7 @@ require File.dirname(__FILE__) + '/base'
4
4
  class Gruff::Pie < Gruff::Base
5
5
 
6
6
  def draw
7
- @show_line_markers = false
7
+ @hide_line_markers = true
8
8
 
9
9
  super
10
10
 
@@ -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 unless @show_line_markers
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)
metadata CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.8.11
3
3
  specification_version: 1
4
4
  name: gruff
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.0.8
6
+ version: 0.0.9
7
7
  date: 2005-12-31 00:00:00 -08:00
8
8
  summary: Beautiful graphs for one or multiple datasets.
9
9
  require_paths: