amcharts.rb 3.1.1.0 → 3.1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/README.md +5 -1
- data/app/assets/javascripts/amcharts.js +3 -0
- data/lib/amcharts/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NGNhZjdiYzg0MDFkNjAzNjNmNjhkMjhmNjRkNWIyY2U0NzVhZmVjOA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YmRkZDk0MDc2ZDJiMWQ3MTY0NzgyZjMxOTNkYWQwMzRhMjk2OWRmMw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
Mzc0NzZjMTlhNzkzYWUzZmVjYzUzYzc3MjU4NGQ1ZTYzZjcyZjhkMTdhMTVk
|
10
|
+
NzRlOGE2Yjc3ZDhlODE2N2E0YTlmZGE3ZTVhZTExMDg3YTQyMGZmOWNmZmRi
|
11
|
+
YjU3MGVkZTU5NGY1OTg2NzgzNDRlZTIzYjk1NTM2NjMxZjBkYmI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YjkzZjhkOTg1MjY1YjkxYTE4ZTE4YmMxZmJlNGZiMzk1N2M2YmEyMzkxNmIy
|
14
|
+
Y2IyZWVjNjM3ZmYxZjlmN2ZhYTMyMGI0OTkxNTdhMjY3Njg2NTQ3ZGE2ZDI1
|
15
|
+
ZTJkMWEwMjM5MWEyMmYzNjcyMThjNTViMzhhM2QwMTZhYjdkMzY=
|
data/README.md
CHANGED
@@ -45,7 +45,7 @@ an I18n key (`chart_data_loading`) and an image (`amcharts/loading.gif`) which b
|
|
45
45
|
cause the legend div to be given an ID the same as the main div, with a "_legend" suffix), or the ID you want to give the div.
|
46
46
|
* `dimensions=('widthxheight')`: Allows width and height to be specified in one line
|
47
47
|
|
48
|
-
###
|
48
|
+
### Defining a chart
|
49
49
|
* Serial charts need to have their `graphs` defined on setup (this also allows multiple graphs to be defined; ie. for a multi-line chart).
|
50
50
|
Graphs are initialized with `(name, type)`, where `type` is a [type of graph](http://docs.amcharts.com/javascriptcharts/AmGraph#type)
|
51
51
|
that AmCharts is aware of (`:column`, `:line`, `:step`, etc.)
|
@@ -59,6 +59,10 @@ that AmCharts is aware of (`:column`, `:line`, `:step`, etc.)
|
|
59
59
|
|
60
60
|
* Pie charts do not use `graphs`, as they get their values directly from the given data set.
|
61
61
|
|
62
|
+
### Note about the Version Number
|
63
|
+
The version number correlates to the version of AmCharts that is included (ie. 3.1.1.0 is the first release of
|
64
|
+
amcharts.rb which uses AmCharts v3.1.1)
|
65
|
+
|
62
66
|
## Using a Commercial AmCharts license
|
63
67
|
|
64
68
|
If you have purchased the commercial version of AmCharts, place the amcharts.js file it comes with inside a
|
@@ -59,9 +59,12 @@ function add_loading_indicator(container, width, height, message, image_path)
|
|
59
59
|
loading = document.createTextNode(message);
|
60
60
|
|
61
61
|
wrapper.className = 'chart-wrapper';
|
62
|
+
wrapper.id = container.id + "_wrapper"
|
62
63
|
wrapper.style.width = width + 'px';
|
63
64
|
wrapper.style.minHeight = height + 'px';
|
64
65
|
|
66
|
+
container.style.width = '100%';
|
67
|
+
|
65
68
|
blanket.className = 'chart-blanket';
|
66
69
|
|
67
70
|
loading_div.className = 'chart-loading';
|
data/lib/amcharts/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: amcharts.rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.1.
|
4
|
+
version: 3.1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Vandersluis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-10-
|
11
|
+
date: 2013-10-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
type: :runtime
|