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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ODVlZmZmZjJiZmUxOWU4NmYzYzg5NGYzNTM3ZWMyZjIzYzM0OWQ3Mw==
4
+ NGNhZjdiYzg0MDFkNjAzNjNmNjhkMjhmNjRkNWIyY2U0NzVhZmVjOA==
5
5
  data.tar.gz: !binary |-
6
- YjIxZTAwYTFkNmRlODhlODFiYjgwZDVkNjk1M2FhYjRkZWUwZmRiYw==
6
+ YmRkZDk0MDc2ZDJiMWQ3MTY0NzgyZjMxOTNkYWQwMzRhMjk2OWRmMw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MWNkNjlkMjVmZDRkM2EyZDc1NDk5MDQ3OGRkYWJjOWU3OTM1OWNkYjUzOTE2
10
- OGJiZDljMGE2ZTc5YTJmMmU2NzA0ZDMwYmFiY2M1NWQxMTY4YzA4YTRiMzc3
11
- ZDZjZGI1OGUyZTVmYjhiMWRjYjljZGE5OGQyMTJkYjU1ZGI2ODQ=
9
+ Mzc0NzZjMTlhNzkzYWUzZmVjYzUzYzc3MjU4NGQ1ZTYzZjcyZjhkMTdhMTVk
10
+ NzRlOGE2Yjc3ZDhlODE2N2E0YTlmZGE3ZTVhZTExMDg3YTQyMGZmOWNmZmRi
11
+ YjU3MGVkZTU5NGY1OTg2NzgzNDRlZTIzYjk1NTM2NjMxZjBkYmI=
12
12
  data.tar.gz: !binary |-
13
- ODhkNGVlNTM1ZjA5MTBhN2I1NzYwODAyOThmYjgwY2Q0MTMwNGVlOGZmMzgx
14
- ZDA5MTYwZTIwYTc4ZTQ4OGIzMTg5YzdlNWZjYWU3MmVlNTBmNDU1NzlhOGUw
15
- M2NmNGQ5MjA4YWMxNWI3OTFlYTRmMDFmNjViYTM0NmRlZTdkNmI=
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
- ### Notes about defining a chart
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';
@@ -1,3 +1,3 @@
1
1
  module AmCharts
2
- VERSION = "3.1.1.0"
2
+ VERSION = "3.1.1.1"
3
3
  end
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.0
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-23 00:00:00.000000000 Z
11
+ date: 2013-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  type: :runtime