highstock-rails 2.1.10 → 5.0.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/css/highcharts.css +760 -0
  3. data/app/assets/javascripts/highstock.js +511 -419
  4. data/app/assets/javascripts/highstock/highstock.js +472 -0
  5. data/app/assets/javascripts/highstock/highstock.js.map +8 -0
  6. data/app/assets/javascripts/highstock/highstock.src.js +28809 -0
  7. data/app/assets/javascripts/highstock/modules/accessibility.js +48 -0
  8. data/app/assets/javascripts/highstock/modules/accessibility.js.map +8 -0
  9. data/app/assets/javascripts/highstock/modules/accessibility.src.js +1131 -0
  10. data/app/assets/javascripts/highstock/modules/annotations.js +14 -0
  11. data/app/assets/javascripts/highstock/modules/annotations.js.map +8 -0
  12. data/app/assets/javascripts/highstock/modules/annotations.src.js +407 -0
  13. data/app/assets/javascripts/highstock/modules/boost-canvas.js +23 -0
  14. data/app/assets/javascripts/highstock/modules/boost-canvas.js.map +8 -0
  15. data/app/assets/javascripts/highstock/modules/boost-canvas.src.js +771 -0
  16. data/app/assets/javascripts/highstock/modules/boost.js +51 -12
  17. data/app/assets/javascripts/highstock/modules/boost.js.map +8 -0
  18. data/app/assets/javascripts/highstock/modules/boost.src.js +2580 -492
  19. data/app/assets/javascripts/highstock/modules/broken-axis.js.map +8 -0
  20. data/app/assets/javascripts/highstock/modules/canvasrenderer.experimental.js.map +8 -0
  21. data/app/assets/javascripts/highstock/modules/data.js +19 -19
  22. data/app/assets/javascripts/highstock/modules/data.js.map +8 -0
  23. data/app/assets/javascripts/highstock/modules/data.src.js +974 -950
  24. data/app/assets/javascripts/highstock/modules/drilldown.js +25 -17
  25. data/app/assets/javascripts/highstock/modules/drilldown.js.map +8 -0
  26. data/app/assets/javascripts/highstock/modules/drilldown.src.js +790 -709
  27. data/app/assets/javascripts/highstock/modules/export-data.js +17 -0
  28. data/app/assets/javascripts/highstock/modules/export-data.js.map +8 -0
  29. data/app/assets/javascripts/highstock/modules/export-data.src.js +417 -0
  30. data/app/assets/javascripts/highstock/modules/exporting.js +21 -18
  31. data/app/assets/javascripts/highstock/modules/exporting.js.map +8 -0
  32. data/app/assets/javascripts/highstock/modules/exporting.src.js +1013 -768
  33. data/app/assets/javascripts/highstock/modules/funnel.js +6 -7
  34. data/app/assets/javascripts/highstock/modules/funnel.js.map +8 -0
  35. data/app/assets/javascripts/highstock/modules/funnel.src.js +284 -308
  36. data/app/assets/javascripts/highstock/modules/gantt.js +24 -0
  37. data/app/assets/javascripts/highstock/modules/gantt.js.map +8 -0
  38. data/app/assets/javascripts/highstock/modules/gantt.src.js +793 -0
  39. data/app/assets/javascripts/highstock/modules/grid-axis.js +19 -0
  40. data/app/assets/javascripts/highstock/modules/grid-axis.js.map +8 -0
  41. data/app/assets/javascripts/highstock/modules/grid-axis.src.js +545 -0
  42. data/app/assets/javascripts/highstock/modules/heatmap.js +20 -18
  43. data/app/assets/javascripts/highstock/modules/heatmap.js.map +8 -0
  44. data/app/assets/javascripts/highstock/modules/heatmap.src.js +738 -633
  45. data/app/assets/javascripts/highstock/modules/map-parser.js.map +8 -0
  46. data/app/assets/javascripts/highstock/modules/map.js.map +8 -0
  47. data/app/assets/javascripts/highstock/modules/no-data-to-display.js +5 -5
  48. data/app/assets/javascripts/highstock/modules/no-data-to-display.js.map +8 -0
  49. data/app/assets/javascripts/highstock/modules/no-data-to-display.src.js +140 -133
  50. data/app/assets/javascripts/highstock/modules/offline-exporting.js +12 -7
  51. data/app/assets/javascripts/highstock/modules/offline-exporting.js.map +8 -0
  52. data/app/assets/javascripts/highstock/modules/offline-exporting.src.js +543 -270
  53. data/app/assets/javascripts/highstock/modules/overlapping-datalabels.js +10 -0
  54. data/app/assets/javascripts/highstock/modules/overlapping-datalabels.js.map +8 -0
  55. data/app/assets/javascripts/highstock/modules/overlapping-datalabels.src.js +187 -0
  56. data/app/assets/javascripts/highstock/modules/series-label.js +19 -0
  57. data/app/assets/javascripts/highstock/modules/series-label.js.map +8 -0
  58. data/app/assets/javascripts/highstock/modules/series-label.src.js +606 -0
  59. data/app/assets/javascripts/highstock/modules/solid-gauge.js +9 -8
  60. data/app/assets/javascripts/highstock/modules/solid-gauge.js.map +8 -0
  61. data/app/assets/javascripts/highstock/modules/solid-gauge.src.js +334 -266
  62. data/app/assets/javascripts/highstock/modules/static-scale.js +12 -0
  63. data/app/assets/javascripts/highstock/modules/static-scale.js.map +8 -0
  64. data/app/assets/javascripts/highstock/modules/static-scale.src.js +64 -0
  65. data/app/assets/javascripts/highstock/modules/stock.js +123 -0
  66. data/app/assets/javascripts/highstock/modules/stock.js.map +8 -0
  67. data/app/assets/javascripts/highstock/modules/stock.src.js +6247 -0
  68. data/app/assets/javascripts/highstock/modules/treemap.js +22 -23
  69. data/app/assets/javascripts/highstock/modules/treemap.js.map +8 -0
  70. data/app/assets/javascripts/highstock/modules/treemap.src.js +884 -859
  71. data/app/assets/javascripts/highstock/modules/xrange-series.js +15 -0
  72. data/app/assets/javascripts/highstock/modules/xrange-series.js.map +8 -0
  73. data/app/assets/javascripts/highstock/modules/xrange-series.src.js +258 -0
  74. data/app/assets/javascripts/highstock/themes/dark-blue.js +307 -244
  75. data/app/assets/javascripts/highstock/themes/dark-green.js +303 -244
  76. data/app/assets/javascripts/highstock/themes/dark-unica.js +231 -201
  77. data/app/assets/javascripts/highstock/themes/gray.js +314 -245
  78. data/app/assets/javascripts/highstock/themes/grid-light.js +91 -66
  79. data/app/assets/javascripts/highstock/themes/grid.js +124 -96
  80. data/app/assets/javascripts/highstock/themes/sand-signika.js +119 -94
  81. data/app/assets/javascripts/highstock/themes/skies.js +108 -85
  82. data/lib/highstock/rails/version.rb +1 -1
  83. metadata +54 -11
  84. data/app/assets/javascripts/highstock/adapters/standalone-framework.js +0 -18
  85. data/app/assets/javascripts/highstock/adapters/standalone-framework.src.js +0 -635
  86. data/app/assets/javascripts/highstock/highcharts-3d.js +0 -48
  87. data/app/assets/javascripts/highstock/highcharts-3d.src.js +0 -1711
  88. data/app/assets/javascripts/highstock/highcharts-more.js +0 -55
  89. data/app/assets/javascripts/highstock/highstock-all.js +0 -637
  90. data/app/assets/javascripts/highstock/modules/canvas-tools.js +0 -133
  91. data/app/assets/javascripts/highstock/modules/canvas-tools.src.js +0 -3114
@@ -1,255 +1,314 @@
1
1
  /**
2
- * Dark blue theme for Highcharts JS
3
- * @author Torstein Honsi
2
+ * @license Highcharts JS v5.0.11 (2017-05-04)
3
+ *
4
+ * (c) 2009-2017 Torstein Honsi
5
+ *
6
+ * License: www.highcharts.com/license
4
7
  */
8
+ 'use strict';
9
+ (function(factory) {
10
+ if (typeof module === 'object' && module.exports) {
11
+ module.exports = factory;
12
+ } else {
13
+ factory(Highcharts);
14
+ }
15
+ }(function(Highcharts) {
16
+ (function(Highcharts) {
17
+ /**
18
+ * (c) 2010-2017 Torstein Honsi
19
+ *
20
+ * License: www.highcharts.com/license
21
+ *
22
+ * Dark blue theme for Highcharts JS
23
+ * @author Torstein Honsi
24
+ */
5
25
 
6
- Highcharts.theme = {
7
- colors: ["#DDDF0D", "#55BF3B", "#DF5353", "#7798BF", "#aaeeee", "#ff0066", "#eeaaee",
8
- "#55BF3B", "#DF5353", "#7798BF", "#aaeeee"],
9
- chart: {
10
- backgroundColor: {
11
- linearGradient: [0, 0, 250, 500],
12
- stops: [
13
- [0, 'rgb(48, 96, 48)'],
14
- [1, 'rgb(0, 0, 0)']
15
- ]
16
- },
17
- borderColor: '#000000',
18
- borderWidth: 2,
19
- className: 'dark-container',
20
- plotBackgroundColor: 'rgba(255, 255, 255, .1)',
21
- plotBorderColor: '#CCCCCC',
22
- plotBorderWidth: 1
23
- },
24
- title: {
25
- style: {
26
- color: '#C0C0C0',
27
- font: 'bold 16px "Trebuchet MS", Verdana, sans-serif'
28
- }
29
- },
30
- subtitle: {
31
- style: {
32
- color: '#666666',
33
- font: 'bold 12px "Trebuchet MS", Verdana, sans-serif'
34
- }
35
- },
36
- xAxis: {
37
- gridLineColor: '#333333',
38
- gridLineWidth: 1,
39
- labels: {
40
- style: {
41
- color: '#A0A0A0'
42
- }
43
- },
44
- lineColor: '#A0A0A0',
45
- tickColor: '#A0A0A0',
46
- title: {
47
- style: {
48
- color: '#CCC',
49
- fontWeight: 'bold',
50
- fontSize: '12px',
51
- fontFamily: 'Trebuchet MS, Verdana, sans-serif'
26
+ Highcharts.theme = {
27
+ colors: ['#DDDF0D', '#55BF3B', '#DF5353', '#7798BF', '#aaeeee', '#ff0066', '#eeaaee',
28
+ '#55BF3B', '#DF5353', '#7798BF', '#aaeeee'
29
+ ],
30
+ chart: {
31
+ backgroundColor: {
32
+ linearGradient: [0, 0, 250, 500],
33
+ stops: [
34
+ [0, 'rgb(48, 96, 48)'],
35
+ [1, 'rgb(0, 0, 0)']
36
+ ]
37
+ },
38
+ borderColor: '#000000',
39
+ borderWidth: 2,
40
+ className: 'dark-container',
41
+ plotBackgroundColor: 'rgba(255, 255, 255, .1)',
42
+ plotBorderColor: '#CCCCCC',
43
+ plotBorderWidth: 1
44
+ },
45
+ title: {
46
+ style: {
47
+ color: '#C0C0C0',
48
+ font: 'bold 16px "Trebuchet MS", Verdana, sans-serif'
49
+ }
50
+ },
51
+ subtitle: {
52
+ style: {
53
+ color: '#666666',
54
+ font: 'bold 12px "Trebuchet MS", Verdana, sans-serif'
55
+ }
56
+ },
57
+ xAxis: {
58
+ gridLineColor: '#333333',
59
+ gridLineWidth: 1,
60
+ labels: {
61
+ style: {
62
+ color: '#A0A0A0'
63
+ }
64
+ },
65
+ lineColor: '#A0A0A0',
66
+ tickColor: '#A0A0A0',
67
+ title: {
68
+ style: {
69
+ color: '#CCC',
70
+ fontWeight: 'bold',
71
+ fontSize: '12px',
72
+ fontFamily: 'Trebuchet MS, Verdana, sans-serif'
52
73
 
53
- }
54
- }
55
- },
56
- yAxis: {
57
- gridLineColor: '#333333',
58
- labels: {
59
- style: {
60
- color: '#A0A0A0'
61
- }
62
- },
63
- lineColor: '#A0A0A0',
64
- minorTickInterval: null,
65
- tickColor: '#A0A0A0',
66
- tickWidth: 1,
67
- title: {
68
- style: {
69
- color: '#CCC',
70
- fontWeight: 'bold',
71
- fontSize: '12px',
72
- fontFamily: 'Trebuchet MS, Verdana, sans-serif'
73
- }
74
- }
75
- },
76
- tooltip: {
77
- backgroundColor: 'rgba(0, 0, 0, 0.75)',
78
- style: {
79
- color: '#F0F0F0'
80
- }
81
- },
82
- toolbar: {
83
- itemStyle: {
84
- color: 'silver'
85
- }
86
- },
87
- plotOptions: {
88
- line: {
89
- dataLabels: {
90
- color: '#CCC'
91
- },
92
- marker: {
93
- lineColor: '#333'
94
- }
95
- },
96
- spline: {
97
- marker: {
98
- lineColor: '#333'
99
- }
100
- },
101
- scatter: {
102
- marker: {
103
- lineColor: '#333'
104
- }
105
- },
106
- candlestick: {
107
- lineColor: 'white'
108
- }
109
- },
110
- legend: {
111
- itemStyle: {
112
- font: '9pt Trebuchet MS, Verdana, sans-serif',
113
- color: '#A0A0A0'
114
- },
115
- itemHoverStyle: {
116
- color: '#FFF'
117
- },
118
- itemHiddenStyle: {
119
- color: '#444'
120
- }
121
- },
122
- credits: {
123
- style: {
124
- color: '#666'
125
- }
126
- },
127
- labels: {
128
- style: {
129
- color: '#CCC'
130
- }
131
- },
74
+ }
75
+ }
76
+ },
77
+ yAxis: {
78
+ gridLineColor: '#333333',
79
+ labels: {
80
+ style: {
81
+ color: '#A0A0A0'
82
+ }
83
+ },
84
+ lineColor: '#A0A0A0',
85
+ minorTickInterval: null,
86
+ tickColor: '#A0A0A0',
87
+ tickWidth: 1,
88
+ title: {
89
+ style: {
90
+ color: '#CCC',
91
+ fontWeight: 'bold',
92
+ fontSize: '12px',
93
+ fontFamily: 'Trebuchet MS, Verdana, sans-serif'
94
+ }
95
+ }
96
+ },
97
+ tooltip: {
98
+ backgroundColor: 'rgba(0, 0, 0, 0.75)',
99
+ style: {
100
+ color: '#F0F0F0'
101
+ }
102
+ },
103
+ toolbar: {
104
+ itemStyle: {
105
+ color: 'silver'
106
+ }
107
+ },
108
+ plotOptions: {
109
+ line: {
110
+ dataLabels: {
111
+ color: '#CCC'
112
+ },
113
+ marker: {
114
+ lineColor: '#333'
115
+ }
116
+ },
117
+ spline: {
118
+ marker: {
119
+ lineColor: '#333'
120
+ }
121
+ },
122
+ scatter: {
123
+ marker: {
124
+ lineColor: '#333'
125
+ }
126
+ },
127
+ candlestick: {
128
+ lineColor: 'white'
129
+ }
130
+ },
131
+ legend: {
132
+ itemStyle: {
133
+ font: '9pt Trebuchet MS, Verdana, sans-serif',
134
+ color: '#A0A0A0'
135
+ },
136
+ itemHoverStyle: {
137
+ color: '#FFF'
138
+ },
139
+ itemHiddenStyle: {
140
+ color: '#444'
141
+ }
142
+ },
143
+ credits: {
144
+ style: {
145
+ color: '#666'
146
+ }
147
+ },
148
+ labels: {
149
+ style: {
150
+ color: '#CCC'
151
+ }
152
+ },
132
153
 
133
154
 
134
- navigation: {
135
- buttonOptions: {
136
- symbolStroke: '#DDDDDD',
137
- hoverSymbolStroke: '#FFFFFF',
138
- theme: {
139
- fill: {
140
- linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 },
141
- stops: [
142
- [0.4, '#606060'],
143
- [0.6, '#333333']
144
- ]
145
- },
146
- stroke: '#000000'
147
- }
148
- }
149
- },
155
+ navigation: {
156
+ buttonOptions: {
157
+ symbolStroke: '#DDDDDD',
158
+ hoverSymbolStroke: '#FFFFFF',
159
+ theme: {
160
+ fill: {
161
+ linearGradient: {
162
+ x1: 0,
163
+ y1: 0,
164
+ x2: 0,
165
+ y2: 1
166
+ },
167
+ stops: [
168
+ [0.4, '#606060'],
169
+ [0.6, '#333333']
170
+ ]
171
+ },
172
+ stroke: '#000000'
173
+ }
174
+ }
175
+ },
150
176
 
151
- // scroll charts
152
- rangeSelector: {
153
- buttonTheme: {
154
- fill: {
155
- linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 },
156
- stops: [
157
- [0.4, '#888'],
158
- [0.6, '#555']
159
- ]
160
- },
161
- stroke: '#000000',
162
- style: {
163
- color: '#CCC',
164
- fontWeight: 'bold'
165
- },
166
- states: {
167
- hover: {
168
- fill: {
169
- linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 },
170
- stops: [
171
- [0.4, '#BBB'],
172
- [0.6, '#888']
173
- ]
174
- },
175
- stroke: '#000000',
176
- style: {
177
- color: 'white'
178
- }
179
- },
180
- select: {
181
- fill: {
182
- linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 },
183
- stops: [
184
- [0.1, '#000'],
185
- [0.3, '#333']
186
- ]
187
- },
188
- stroke: '#000000',
189
- style: {
190
- color: 'yellow'
191
- }
192
- }
193
- }
194
- },
195
- inputStyle: {
196
- backgroundColor: '#333',
197
- color: 'silver'
198
- },
199
- labelStyle: {
200
- color: 'silver'
201
- }
202
- },
177
+ // scroll charts
178
+ rangeSelector: {
179
+ buttonTheme: {
180
+ fill: {
181
+ linearGradient: {
182
+ x1: 0,
183
+ y1: 0,
184
+ x2: 0,
185
+ y2: 1
186
+ },
187
+ stops: [
188
+ [0.4, '#888'],
189
+ [0.6, '#555']
190
+ ]
191
+ },
192
+ stroke: '#000000',
193
+ style: {
194
+ color: '#CCC',
195
+ fontWeight: 'bold'
196
+ },
197
+ states: {
198
+ hover: {
199
+ fill: {
200
+ linearGradient: {
201
+ x1: 0,
202
+ y1: 0,
203
+ x2: 0,
204
+ y2: 1
205
+ },
206
+ stops: [
207
+ [0.4, '#BBB'],
208
+ [0.6, '#888']
209
+ ]
210
+ },
211
+ stroke: '#000000',
212
+ style: {
213
+ color: 'white'
214
+ }
215
+ },
216
+ select: {
217
+ fill: {
218
+ linearGradient: {
219
+ x1: 0,
220
+ y1: 0,
221
+ x2: 0,
222
+ y2: 1
223
+ },
224
+ stops: [
225
+ [0.1, '#000'],
226
+ [0.3, '#333']
227
+ ]
228
+ },
229
+ stroke: '#000000',
230
+ style: {
231
+ color: 'yellow'
232
+ }
233
+ }
234
+ }
235
+ },
236
+ inputStyle: {
237
+ backgroundColor: '#333',
238
+ color: 'silver'
239
+ },
240
+ labelStyle: {
241
+ color: 'silver'
242
+ }
243
+ },
203
244
 
204
- navigator: {
205
- handles: {
206
- backgroundColor: '#666',
207
- borderColor: '#AAA'
208
- },
209
- outlineColor: '#CCC',
210
- maskFill: 'rgba(16, 16, 16, 0.5)',
211
- series: {
212
- color: '#7798BF',
213
- lineColor: '#A6C7ED'
214
- }
215
- },
245
+ navigator: {
246
+ handles: {
247
+ backgroundColor: '#666',
248
+ borderColor: '#AAA'
249
+ },
250
+ outlineColor: '#CCC',
251
+ maskFill: 'rgba(16, 16, 16, 0.5)',
252
+ series: {
253
+ color: '#7798BF',
254
+ lineColor: '#A6C7ED'
255
+ }
256
+ },
216
257
 
217
- scrollbar: {
218
- barBackgroundColor: {
219
- linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 },
220
- stops: [
221
- [0.4, '#888'],
222
- [0.6, '#555']
223
- ]
224
- },
225
- barBorderColor: '#CCC',
226
- buttonArrowColor: '#CCC',
227
- buttonBackgroundColor: {
228
- linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 },
229
- stops: [
230
- [0.4, '#888'],
231
- [0.6, '#555']
232
- ]
233
- },
234
- buttonBorderColor: '#CCC',
235
- rifleColor: '#FFF',
236
- trackBackgroundColor: {
237
- linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 },
238
- stops: [
239
- [0, '#000'],
240
- [1, '#333']
241
- ]
242
- },
243
- trackBorderColor: '#666'
244
- },
258
+ scrollbar: {
259
+ barBackgroundColor: {
260
+ linearGradient: {
261
+ x1: 0,
262
+ y1: 0,
263
+ x2: 0,
264
+ y2: 1
265
+ },
266
+ stops: [
267
+ [0.4, '#888'],
268
+ [0.6, '#555']
269
+ ]
270
+ },
271
+ barBorderColor: '#CCC',
272
+ buttonArrowColor: '#CCC',
273
+ buttonBackgroundColor: {
274
+ linearGradient: {
275
+ x1: 0,
276
+ y1: 0,
277
+ x2: 0,
278
+ y2: 1
279
+ },
280
+ stops: [
281
+ [0.4, '#888'],
282
+ [0.6, '#555']
283
+ ]
284
+ },
285
+ buttonBorderColor: '#CCC',
286
+ rifleColor: '#FFF',
287
+ trackBackgroundColor: {
288
+ linearGradient: {
289
+ x1: 0,
290
+ y1: 0,
291
+ x2: 0,
292
+ y2: 1
293
+ },
294
+ stops: [
295
+ [0, '#000'],
296
+ [1, '#333']
297
+ ]
298
+ },
299
+ trackBorderColor: '#666'
300
+ },
245
301
 
246
- // special colors for some of the
247
- legendBackgroundColor: 'rgba(0, 0, 0, 0.5)',
248
- background2: 'rgb(35, 35, 70)',
249
- dataLabelsColor: '#444',
250
- textColor: '#C0C0C0',
251
- maskColor: 'rgba(255,255,255,0.3)'
252
- };
302
+ // special colors for some of the
303
+ legendBackgroundColor: 'rgba(0, 0, 0, 0.5)',
304
+ background2: 'rgb(35, 35, 70)',
305
+ dataLabelsColor: '#444',
306
+ textColor: '#C0C0C0',
307
+ maskColor: 'rgba(255,255,255,0.3)'
308
+ };
253
309
 
254
- // Apply the theme
255
- var highchartsOptions = Highcharts.setOptions(Highcharts.theme);
310
+ // Apply the theme
311
+ Highcharts.setOptions(Highcharts.theme);
312
+
313
+ }(Highcharts));
314
+ }));