query_report 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -30,7 +30,7 @@ module QueryReport
30
30
 
31
31
  def prepare
32
32
  @data_table.add_row(@row)
33
- opts = {:width => 500, :height => 240, :title => @title}.merge(options)
33
+ opts = {:width => 500, :height => 240, :title => @title, backgroundColor: 'transparent'}.merge(options)
34
34
  chart_type = "#{type}_chart".classify
35
35
  chart_type = "GoogleVisualr::Interactive::#{chart_type}".constantize
36
36
  chart_type.new(@data_table, opts)
@@ -22,7 +22,7 @@ module QueryReport
22
22
  @data_table.new_column('string', 'Item')
23
23
  @data_table.new_column('number', 'Value')
24
24
  @data_table.add_rows(@rows)
25
- opts = {:width => 500, :height => 240, :title => @title, :is3D => true}.merge(options)
25
+ opts = {:width => 500, :height => 240, :title => @title, :is3D => true, backgroundColor: 'transparent'}.merge(options)
26
26
  GoogleVisualr::Interactive::PieChart.new(@data_table, opts)
27
27
  end
28
28
 
@@ -1,3 +1,3 @@
1
1
  module QueryReport
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: query_report
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-04-27 00:00:00.000000000 Z
12
+ date: 2013-04-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: ransack