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.
- data/Rakefile +1 -1
- data/lib/google_chart/pie_chart.rb +2 -0
- 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.
|
|
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
|