gchartrb 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/Rakefile +1 -1
  2. data/lib/google_chart/pie_chart.rb +2 -0
  3. metadata +1 -1
data/Rakefile CHANGED
@@ -8,7 +8,7 @@ class Hoe
8
8
  def extra_deps; @extra_deps.reject { |x| Array(x).first == "hoe" } end
9
9
  end # copied from the Rakefile of the sup project
10
10
 
11
- Hoe.new('gchartrb', "0.2.0") do |p|
11
+ Hoe.new('gchartrb', "0.3.0") do |p|
12
12
  p.rubyforge_name = 'gchartrb'
13
13
  p.author = 'Deepak Jois'
14
14
  p.email = 'deepak.jois@gmail.com'
@@ -8,6 +8,8 @@ module GoogleChart
8
8
  def initialize(chart_size='300x200', chart_title=nil, is_3d = false)
9
9
  super(chart_size, chart_title)
10
10
  self.is_3d = is_3d
11
+ self.show_labels = true
12
+ self.show_legend = false
11
13
  end
12
14
 
13
15
  # Set this value to <tt>true</tt> if you want the Pie Chart to be rendered as a 3D image
metadata CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.9.4
3
3
  specification_version: 1
4
4
  name: gchartrb
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.2.0
6
+ version: 0.3.0
7
7
  date: 2007-12-11 00:00:00 +08:00
8
8
  summary: Ruby Wrapper for the Google Chart API
9
9
  require_paths: