highcharts-rails 4.0.1 → 4.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Highcharts JS v4.0.1 (2014-04-24)
2
+ * @license Highcharts JS v4.0.3 (2014-07-03)
3
3
  * Plugin for displaying a message when there is no data visible in chart.
4
4
  *
5
5
  * (c) 2010-2014 Highsoft AS
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Highcharts JS v4.0.1 (2014-04-24)
2
+ * @license Highcharts JS v4.0.3 (2014-07-03)
3
3
  * Solid angular gauge module
4
4
  *
5
5
  * (c) 2010-2014 Torstein Honsi
@@ -185,13 +185,22 @@
185
185
  }
186
186
  rotation = rotation * 180 / Math.PI;
187
187
 
188
+ var angle1 = rotation / (180 / Math.PI),
189
+ angle2 = yAxis.startAngleRad,
190
+ minAngle = Math.min(angle1, angle2),
191
+ maxAngle = Math.max(angle1, angle2);
192
+
193
+ if (maxAngle - minAngle > 2 * Math.PI) {
194
+ maxAngle = minAngle + 2 * Math.PI;
195
+ }
196
+
188
197
  shapeArgs = {
189
198
  x: center[0],
190
199
  y: center[1],
191
200
  r: radius,
192
201
  innerR: innerRadius,
193
- start: yAxis.startAngleRad,
194
- end: rotation / (180 / Math.PI)
202
+ start: minAngle,
203
+ end: maxAngle
195
204
  };
196
205
 
197
206
  if (graphic) {
@@ -207,12 +216,13 @@
207
216
  });
208
217
  /*jslint unparam: false*/
209
218
  shapeArgs.d = d; // animate alters it
210
- } else {
219
+ } else {
211
220
  point.graphic = renderer.arc(shapeArgs)
212
221
  .attr({
213
222
  stroke: options.borderColor || 'none',
214
223
  'stroke-width': options.borderWidth || 0,
215
- fill: point.color
224
+ fill: point.color,
225
+ 'sweep-flag': 0
216
226
  })
217
227
  .add(series.group);
218
228
  }
@@ -67,6 +67,9 @@ Highcharts.theme = {
67
67
  },
68
68
  candlestick: {
69
69
  lineColor: '#404048'
70
+ },
71
+ map: {
72
+ shadow: false
70
73
  }
71
74
  },
72
75
 
@@ -1,3 +1,3 @@
1
1
  module Highcharts
2
- VERSION = "4.0.1"
2
+ VERSION = "4.0.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: highcharts-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.1
4
+ version: 4.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Per Christian B. Viken
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-24 00:00:00.000000000 Z
11
+ date: 2014-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -117,7 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
117
117
  version: '0'
118
118
  requirements: []
119
119
  rubyforge_project:
120
- rubygems_version: 2.1.11
120
+ rubygems_version: 2.4.1
121
121
  signing_key:
122
122
  specification_version: 4
123
123
  summary: Gem for easily adding Highcharts to the Rails Asset Pipeline
@@ -1,18 +0,0 @@
1
- -----BEGIN PGP SIGNATURE-----
2
- Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
3
- Comment: GPGTools - http://gpgtools.org
4
-
5
- iQIcBAABAgAGBQJTWNWMAAoJEH1ncb0Txu7XJuIP/Rv3c7os+Kk2RQjX48LlUC3i
6
- tkHOmNWlHPv8EWeB5HZMDKz6knGZQYLQ+AU6HhMbTBeJ6Pz9dmVL6Wsk8wDInf4K
7
- d6Bgj+EY3d26+aebV35aK0B9/RL9SB5xhuStRnIodRLE0Yu2y8fLMha/O7Anf7qE
8
- aMjfS6ob5QmeeQBFXYUhVwaW9gzkCQNhM1dBFwSBiYtMUF3kGYv5KN9hgvfQTx8C
9
- gvv9GiCGimmV1LDC1qntGiR0Joo3JZGFSGxnv4ygmiWP9MephqggIkltE+ssrd9K
10
- AkMK0iAaqczr0VrbbutwvjyZPLGaN1JCVb10loMnLSybQQLbXY6kRfKqpiN2XC1U
11
- T1y0blDbnXMPC7qYyOFSc9lJyCsQgBBe+30DlZLKrWjPSEc3dR+JK+tpG6MM37Gs
12
- mJBWZF6ngEm/gRdoPXB1UDPILqfel+CXiFfSBItAKyqUcnbnUtnMlTAY74mW5jH3
13
- Tay5WixrMl2Dhp6gunN/c+je2U6gHy5IOzumaWu3zbZ0e+auMjU0A2zGOu2Y+EMb
14
- Ds478NBqsTQC9DA/a9PV7Qoh5H7q2vJgc/7U1SId8WF6+xZoDKT4eLpcq83xpvPg
15
- VbyxaaJ+cPy+IVYR+J957cXNIrg7/xi23u9z+Ua3KtecrT9bBGxkNrw57azcXsHY
16
- TPuA3aBu8tBDYGsPjgzx
17
- =5Z4M
18
- -----END PGP SIGNATURE-----
data.tar.gz.asc DELETED
@@ -1,18 +0,0 @@
1
- -----BEGIN PGP SIGNATURE-----
2
- Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
3
- Comment: GPGTools - http://gpgtools.org
4
-
5
- iQIcBAABAgAGBQJTWNWMAAoJEH1ncb0Txu7XTxcP/iokOCWiG3W0BnZi7wl/G2dT
6
- MvsI5nENHsgVXmGLq5KZXy0JZPtWVdq30/3i5jwtHPhdJfTs2sKzaF96NSuJEBYS
7
- N7Ih3cZFtobMKxDknTmC4RbNWmrWeSvyxCDkDkUlU5tUPBhm+lj5+quZ0LdFTjA7
8
- jtLCoMBAyo7JmxJQ2yatAO8roNXd002aMiqSNdqZtPeDlsZlQaYvnFL1VQ8EFV9J
9
- 1ZCWchPmAhlJoKHnS1X0r9RggZkd+oQcYY7U3EemaZRRRc4zFUIaGiYWjEYuN2S0
10
- SYcSe+yyLtwAUTpWhmrvV6ncst2NcNVYRdHuhiC1W1QQXxwPzOAF8EdL8mvwnSmZ
11
- tvxj/CoN4iDx3cu68srMYL6ZBRN8l5FTCE3DyZSdwV/OENduSIt8gOh98Pok0FUN
12
- DJij76jXrsDjIa+bMYIl/p+Q5126rn5mEpfs032R5N+CWyfrh4syQMwDUsT6hx2d
13
- BZhY+KSBSLtguSZuF5uP8ZMYJn0jS9UhLP6q6lNkETEn3kMjTLVHJkJLEPCIgNdP
14
- UAsy6D+t/RmOpILFyM2lCG44WFk8JMINUoFq4IzJyma29fs/lKLbIZZ9NTbuqfOV
15
- UssCbvo9Bq45hRDxl8ZaAP98AvdPUH840BcuTmMTalhoYXfpdfBCWoWtokgMZiWR
16
- H8wlA0Lw0NJM9BedCSH2
17
- =QSpa
18
- -----END PGP SIGNATURE-----
metadata.gz.asc DELETED
@@ -1,18 +0,0 @@
1
- -----BEGIN PGP SIGNATURE-----
2
- Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
3
- Comment: GPGTools - http://gpgtools.org
4
-
5
- iQIcBAABAgAGBQJTWNWMAAoJEH1ncb0Txu7XBzEP/3Y7RzFE3KwaNaD35F4lUU59
6
- t3xN4MQFU8NrkY2vMVNUPbkj+XJe3DRo9rW5dcyIFBTIaX5FrX4IHCiJOL7hJdbm
7
- WQhU3g2CEbGLjJBCmcqcM2+mtBpUFKuyPJ+6Ekxgt2XCF6irCGUosGf+n/A5HvoC
8
- FIg1HIHS/uSa/wijItO9DHTf/0c8pA4KQ7/YAasgTInLAerl4QYf11V+t5qg0gDo
9
- FdI1cSrvhpNCwGc1y6NpX84zYlorG/urQdRbZ/Q9a554Yw9stK7yPqm41wGuwD5U
10
- BoAoEheq7RXYs2pK5quoGU0H8pHLdIy0Qw6c1xmW4W6qrRIy7H29yy7l6TJ26l2x
11
- MoAQYNrI5j+y6meAOCyCW+GLvH8iUiK8NGIROLKJh815iDGZE/+UHOr6IgzvJr6z
12
- 67rMt3gCCoLtVXXpwbcQ3rgCmI4zT1zmC5AAD+bDkY3zNe44ZPHwr2Z7b052E6m8
13
- JVKzyAW2HhqsEHdBs201geQz7THYpxZ3Yp6BikhNZcnOgczsnbWx0mSx4QU0yfi+
14
- SmK1iu9h8bUm8u6aVAl5heuiWOcT2+gZnH+uvCevNDMmdN2Lv7envEaAUqoeh1iT
15
- 3CHvPDor+qb8HNE5MLXRFR5g1EA7Aw0ew4gX5gpCzP6979VSg0v0xNwGfxfNM0sj
16
- Y9u3wfkztmvtJxBOBxUh
17
- =71YP
18
- -----END PGP SIGNATURE-----