highcharts-rails 4.1.7 → 4.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.markdown +56 -0
- data/Rakefile +36 -0
- data/app/assets/javascripts/highcharts.js +331 -222
- data/app/assets/javascripts/highcharts/adapters/standalone-framework.js +7 -3
- data/app/assets/javascripts/highcharts/highcharts-3d.js +24 -11
- data/app/assets/javascripts/highcharts/highcharts-more.js +25 -14
- data/app/assets/javascripts/highcharts/modules/boost.js +554 -0
- data/app/assets/javascripts/highcharts/modules/broken-axis.js +17 -10
- data/app/assets/javascripts/highcharts/modules/canvas-tools.js +1 -1
- data/app/assets/javascripts/highcharts/modules/data.js +1 -1
- data/app/assets/javascripts/highcharts/modules/exporting.js +32 -7
- data/app/assets/javascripts/highcharts/modules/heatmap.js +24 -5
- data/app/assets/javascripts/highcharts/modules/no-data-to-display.js +1 -1
- data/app/assets/javascripts/highcharts/modules/offline-exporting.js +276 -0
- data/app/assets/javascripts/highcharts/modules/solid-gauge.js +10 -9
- data/app/assets/javascripts/highcharts/modules/treemap.js +1 -1
- data/lib/highcharts/version.rb +1 -1
- metadata +3 -1
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* @license Highcharts JS v4.1.
|
2
|
+
* @license Highcharts JS v4.1.8 (2015-08-20)
|
3
3
|
* Solid angular gauge module
|
4
4
|
*
|
5
5
|
* (c) 2010-2014 Torstein Honsi
|
@@ -196,7 +196,11 @@
|
|
196
196
|
shapeArgs,
|
197
197
|
d,
|
198
198
|
toColor = yAxis.toColor(point.y, point),
|
199
|
-
fromColor
|
199
|
+
fromColor,
|
200
|
+
axisMinAngle = Math.min(yAxis.startAngleRad, yAxis.endAngleRad),
|
201
|
+
axisMaxAngle = Math.max(yAxis.startAngleRad, yAxis.endAngleRad),
|
202
|
+
minAngle,
|
203
|
+
maxAngle;
|
200
204
|
|
201
205
|
if (toColor === 'none') { // #3708
|
202
206
|
toColor = point.color || series.color || 'none';
|
@@ -207,18 +211,15 @@
|
|
207
211
|
}
|
208
212
|
|
209
213
|
// Handle overshoot and clipping to axis max/min
|
210
|
-
rotation = Math.max(
|
214
|
+
rotation = Math.max(axisMinAngle - overshootVal, Math.min(axisMaxAngle + overshootVal, rotation));
|
211
215
|
|
212
216
|
// Handle the wrap option
|
213
217
|
if (options.wrap === false) {
|
214
|
-
rotation = Math.max(
|
218
|
+
rotation = Math.max(axisMinAngle, Math.min(axisMaxAngle, rotation));
|
215
219
|
}
|
216
|
-
rotation = rotation * 180 / Math.PI;
|
217
220
|
|
218
|
-
|
219
|
-
|
220
|
-
minAngle = Math.min(angle1, angle2),
|
221
|
-
maxAngle = Math.max(angle1, angle2);
|
221
|
+
minAngle = Math.min(rotation, yAxis.startAngleRad);
|
222
|
+
maxAngle = Math.max(rotation, yAxis.startAngleRad);
|
222
223
|
|
223
224
|
if (maxAngle - minAngle > 2 * Math.PI) {
|
224
225
|
maxAngle = minAngle + 2 * Math.PI;
|
data/lib/highcharts/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: highcharts-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.1.
|
4
|
+
version: 4.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Per Christian B. Viken
|
@@ -77,6 +77,7 @@ files:
|
|
77
77
|
- app/assets/javascripts/highcharts/highcharts-3d.js
|
78
78
|
- app/assets/javascripts/highcharts/highcharts-more.js
|
79
79
|
- app/assets/javascripts/highcharts/modules/annotations.js
|
80
|
+
- app/assets/javascripts/highcharts/modules/boost.js
|
80
81
|
- app/assets/javascripts/highcharts/modules/broken-axis.js
|
81
82
|
- app/assets/javascripts/highcharts/modules/canvas-tools.js
|
82
83
|
- app/assets/javascripts/highcharts/modules/data.js
|
@@ -86,6 +87,7 @@ files:
|
|
86
87
|
- app/assets/javascripts/highcharts/modules/heatmap.js
|
87
88
|
- app/assets/javascripts/highcharts/modules/map.js
|
88
89
|
- app/assets/javascripts/highcharts/modules/no-data-to-display.js
|
90
|
+
- app/assets/javascripts/highcharts/modules/offline-exporting.js
|
89
91
|
- app/assets/javascripts/highcharts/modules/solid-gauge.js
|
90
92
|
- app/assets/javascripts/highcharts/modules/treemap.js
|
91
93
|
- app/assets/javascripts/highcharts/themes/dark-blue.js
|