anychart_xml_builder 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/anychart_xml_builder.gemspec +1 -1
- data/lib/pie.rb +1 -2
- metadata +1 -1
data/Rakefile
CHANGED
@@ -4,7 +4,7 @@ require 'rake'
|
|
4
4
|
begin
|
5
5
|
require 'jeweler'
|
6
6
|
Jeweler::Tasks.new do |gem|
|
7
|
-
gem.version = "0.0.
|
7
|
+
gem.version = "0.0.5"
|
8
8
|
gem.name = "anychart_xml_builder"
|
9
9
|
gem.summary = %Q{AnyChart (http://anychart.com/home/) XML Builders}
|
10
10
|
gem.description = %Q{This gem provides you the methods to easily generate the XML necessary for AnyChart}
|
data/lib/pie.rb
CHANGED
@@ -45,7 +45,6 @@ module Anychart
|
|
45
45
|
}
|
46
46
|
|
47
47
|
def self.xml(options={})
|
48
|
-
|
49
48
|
p = @@default_xml_options.merge(options)
|
50
49
|
|
51
50
|
validate_options(p)
|
@@ -57,7 +56,7 @@ module Anychart
|
|
57
56
|
}
|
58
57
|
|
59
58
|
xml.charts {
|
60
|
-
xml.chart(:plot_type => p[:type].to_s) {
|
59
|
+
xml.chart(:plot_type => p[:type].to_s.capitalize) {
|
61
60
|
|
62
61
|
xml.data_plot_settings(:enable_3d_mode => "false") {
|
63
62
|
xml.pie_series {
|