google_visualr 2.1.2 → 2.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -1
- data/.travis.yml +8 -0
- data/Gemfile.lock +1 -1
- data/README.rdoc +7 -1
- data/lib/google_visualr.rb +3 -0
- data/lib/google_visualr/interactive/bubble_chart.rb +13 -0
- data/lib/google_visualr/interactive/stepped_area_chart.rb +13 -0
- data/lib/google_visualr/version.rb +1 -1
- metadata +5 -4
- data/test/google_visualr_spec.rb +0 -7
- data/test/helper.rb +0 -18
data/.gitignore
CHANGED
data/.travis.yml
ADDED
data/Gemfile.lock
CHANGED
data/README.rdoc
CHANGED
@@ -1,4 +1,6 @@
|
|
1
|
-
=
|
1
|
+
= GoogleVisualr
|
2
|
+
|
3
|
+
{<img src="https://secure.travis-ci.org/winston/google_visualr.png?branch=master" alt="Build Status" />}[http://travis-ci.org/winston/google_visualr]
|
2
4
|
|
3
5
|
This Ruby gem, GoogleVisualr, is a wrapper around the {Google Chart Tools}[http://code.google.com/apis/chart/interactive/docs/index.html] that allows anyone to create the same beautiful charts with just plain Ruby.
|
4
6
|
|
@@ -94,6 +96,10 @@ Please submit all feedback, bugs and feature-requests to {GitHub Issues Tracker}
|
|
94
96
|
|
95
97
|
= Change Log
|
96
98
|
|
99
|
+
<em>Version 2.1.3</em>
|
100
|
+
* Added support for Bubble Chart.
|
101
|
+
* {Pull Request 37}[https://github.com/winston/google_visualr/pull/37] Added support for Stepped Area Chart.
|
102
|
+
|
97
103
|
<em>Version 2.1.2</em>
|
98
104
|
* {Pull Request 28}[https://github.com/winston/google_visualr/pull/28] Removed InstanceMethods as it's deprecated in Rails 3.2.x.
|
99
105
|
* {Pull Request 26}[https://github.com/winston/google_visualr/pull/26] Added 3 more image charts and #uri method to all image charts.
|
data/lib/google_visualr.rb
CHANGED
@@ -16,6 +16,7 @@ require "#{lib_path}/google_visualr/formatters"
|
|
16
16
|
## Main
|
17
17
|
require "#{lib_path}/google_visualr/interactive/area_chart"
|
18
18
|
require "#{lib_path}/google_visualr/interactive/bar_chart"
|
19
|
+
require "#{lib_path}/google_visualr/interactive/bubble_chart"
|
19
20
|
require "#{lib_path}/google_visualr/interactive/candlestick_chart"
|
20
21
|
require "#{lib_path}/google_visualr/interactive/column_chart"
|
21
22
|
require "#{lib_path}/google_visualr/interactive/combo_chart"
|
@@ -25,9 +26,11 @@ require "#{lib_path}/google_visualr/interactive/geo_map"
|
|
25
26
|
require "#{lib_path}/google_visualr/interactive/line_chart"
|
26
27
|
require "#{lib_path}/google_visualr/interactive/pie_chart"
|
27
28
|
require "#{lib_path}/google_visualr/interactive/scatter_chart"
|
29
|
+
require "#{lib_path}/google_visualr/interactive/stepped_area_chart"
|
28
30
|
require "#{lib_path}/google_visualr/interactive/table"
|
29
31
|
require "#{lib_path}/google_visualr/interactive/tree_map"
|
30
32
|
|
33
|
+
|
31
34
|
## Additional
|
32
35
|
require "#{lib_path}/google_visualr/interactive/annotated_time_line"
|
33
36
|
require "#{lib_path}/google_visualr/interactive/intensity_map"
|
@@ -0,0 +1,13 @@
|
|
1
|
+
module GoogleVisualr
|
2
|
+
module Interactive
|
3
|
+
|
4
|
+
# https://developers.google.com/chart/interactive/docs/gallery/bubblechart
|
5
|
+
class BubbleChart < BaseChart
|
6
|
+
include GoogleVisualr::Packages::CoreChart
|
7
|
+
|
8
|
+
# For Configuration Options, please refer to:
|
9
|
+
# https://developers.google.com/chart/interactive/docs/gallery/bubblechart#Configuration_Options
|
10
|
+
end
|
11
|
+
|
12
|
+
end
|
13
|
+
end
|
@@ -0,0 +1,13 @@
|
|
1
|
+
module GoogleVisualr
|
2
|
+
module Interactive
|
3
|
+
|
4
|
+
# https://developers.google.com/chart/interactive/docs/gallery/steppedareachart
|
5
|
+
class SteppedAreaChart < BaseChart
|
6
|
+
include GoogleVisualr::Packages::CoreChart
|
7
|
+
|
8
|
+
# For Configuration Options, please refer to:
|
9
|
+
# https://developers.google.com/chart/interactive/docs/gallery/steppedareachart#Configuration_Options
|
10
|
+
end
|
11
|
+
|
12
|
+
end
|
13
|
+
end
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: google_visualr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 2.1.
|
5
|
+
version: 2.1.3
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Winston Teo
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2012-
|
13
|
+
date: 2012-07-30 00:00:00 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bundler
|
@@ -58,6 +58,7 @@ files:
|
|
58
58
|
- .gitignore
|
59
59
|
- .rspec
|
60
60
|
- .rvmrc
|
61
|
+
- .travis.yml
|
61
62
|
- CHANGELOG
|
62
63
|
- Gemfile
|
63
64
|
- Gemfile.lock
|
@@ -78,6 +79,7 @@ files:
|
|
78
79
|
- lib/google_visualr/interactive/annotated_time_line.rb
|
79
80
|
- lib/google_visualr/interactive/area_chart.rb
|
80
81
|
- lib/google_visualr/interactive/bar_chart.rb
|
82
|
+
- lib/google_visualr/interactive/bubble_chart.rb
|
81
83
|
- lib/google_visualr/interactive/candlestick_chart.rb
|
82
84
|
- lib/google_visualr/interactive/column_chart.rb
|
83
85
|
- lib/google_visualr/interactive/combo_chart.rb
|
@@ -91,6 +93,7 @@ files:
|
|
91
93
|
- lib/google_visualr/interactive/org_chart.rb
|
92
94
|
- lib/google_visualr/interactive/pie_chart.rb
|
93
95
|
- lib/google_visualr/interactive/scatter_chart.rb
|
96
|
+
- lib/google_visualr/interactive/stepped_area_chart.rb
|
94
97
|
- lib/google_visualr/interactive/table.rb
|
95
98
|
- lib/google_visualr/interactive/tree_map.rb
|
96
99
|
- lib/google_visualr/packages.rb
|
@@ -150,8 +153,6 @@ files:
|
|
150
153
|
- spec/google_visualr/param_helpers_spec.rb
|
151
154
|
- spec/spec_helper.rb
|
152
155
|
- spec/support/common.rb
|
153
|
-
- test/google_visualr_spec.rb
|
154
|
-
- test/helper.rb
|
155
156
|
homepage: https://github.com/winston/google_visualr
|
156
157
|
licenses: []
|
157
158
|
|
data/test/google_visualr_spec.rb
DELETED
data/test/helper.rb
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
require 'rubygems'
|
2
|
-
require 'bundler'
|
3
|
-
begin
|
4
|
-
Bundler.setup(:default, :development)
|
5
|
-
rescue Bundler::BundlerError => e
|
6
|
-
$stderr.puts e.message
|
7
|
-
$stderr.puts "Run `bundle install` to install missing gems"
|
8
|
-
exit e.status_code
|
9
|
-
end
|
10
|
-
require 'test/unit'
|
11
|
-
require 'shoulda'
|
12
|
-
|
13
|
-
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
14
|
-
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
15
|
-
require 'google_visualr2'
|
16
|
-
|
17
|
-
class Test::Unit::TestCase
|
18
|
-
end
|