lazy_high_charts 1.1.3 → 1.1.4

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/README.md CHANGED
@@ -32,6 +32,7 @@ Usage
32
32
  Usage in Controller:
33
33
 
34
34
  @h = LazyHighCharts::HighChart.new('graph') do |f|
35
+ f.options[:chart][:defaultSeriesType] = "area"
35
36
  f.series(:name=>'John', :data=>[3, 20, 3, 5, 4, 10, 12 ,3, 5,6,7,7,80,9,9])
36
37
  f.series(:name=>'Jane', :data=> [1, 3, 4, 3, 3, 5, 4,-46,7,8,8,9,9,0,0,9] )
37
38
  end
@@ -30,7 +30,7 @@ module LazyHighCharts
30
30
  self.tooltip({ :enabled=>true })
31
31
  self.credits({ :enabled => false})
32
32
  self.plotOptions({ :areaspline => { } })
33
- self.chart({ :defaultSeriesType=>nil , :renderTo => nil})
33
+ self.chart({ :defaultSeriesType=>"areaspline" , :renderTo => nil})
34
34
  self.subtitle({})
35
35
  end
36
36
 
@@ -1,3 +1,3 @@
1
1
  module LazyHighCharts
2
- VERSION = "1.1.3"
2
+ VERSION = "1.1.4"
3
3
  end
@@ -34,7 +34,7 @@ describe "HighChart" do
34
34
  :tooltip=>{:enabled=>true},
35
35
  :credits=>{:enabled=>false},
36
36
  :plotOptions=>{:areaspline=>{}},
37
- :chart=>{:defaultSeriesType=>nil, :renderTo=>nil},
37
+ :chart=>{:defaultSeriesType=>"areaspline", :renderTo=>nil},
38
38
  :subtitle=>{}}
39
39
  end
40
40
 
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: lazy_high_charts
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.1.3
5
+ version: 1.1.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - Miguel Michelson Martinez