highcharts_rails 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (76) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +10 -0
  3. data/.rspec +2 -0
  4. data/.travis.yml +5 -0
  5. data/CODE_OF_CONDUCT.md +74 -0
  6. data/Gemfile +4 -0
  7. data/LICENSE.txt +21 -0
  8. data/README.md +106 -0
  9. data/Rakefile +6 -0
  10. data/highcharts_rails.gemspec +27 -0
  11. data/lib/highcharts_rails/version.rb +3 -0
  12. data/lib/highcharts_rails.rb +8 -0
  13. data/vendor/assets/javascripts/highcharts-3d.src.js +2139 -0
  14. data/vendor/assets/javascripts/highcharts-more.src.js +2982 -0
  15. data/vendor/assets/javascripts/highcharts.src.js +22947 -0
  16. data/vendor/assets/javascripts/js/highcharts-3d.src.js +2085 -0
  17. data/vendor/assets/javascripts/js/highcharts-more.src.js +2820 -0
  18. data/vendor/assets/javascripts/js/highcharts.src.js +20917 -0
  19. data/vendor/assets/javascripts/js/modules/accessibility.src.js +1072 -0
  20. data/vendor/assets/javascripts/js/modules/annotations.src.js +408 -0
  21. data/vendor/assets/javascripts/js/modules/boost.src.js +652 -0
  22. data/vendor/assets/javascripts/js/modules/broken-axis.src.js +338 -0
  23. data/vendor/assets/javascripts/js/modules/data.src.js +981 -0
  24. data/vendor/assets/javascripts/js/modules/drilldown.src.js +756 -0
  25. data/vendor/assets/javascripts/js/modules/exporting.src.js +953 -0
  26. data/vendor/assets/javascripts/js/modules/funnel.src.js +290 -0
  27. data/vendor/assets/javascripts/js/modules/gantt.src.js +791 -0
  28. data/vendor/assets/javascripts/js/modules/grid-axis.src.js +545 -0
  29. data/vendor/assets/javascripts/js/modules/heatmap.src.js +798 -0
  30. data/vendor/assets/javascripts/js/modules/no-data-to-display.src.js +150 -0
  31. data/vendor/assets/javascripts/js/modules/offline-exporting.src.js +492 -0
  32. data/vendor/assets/javascripts/js/modules/overlapping-datalabels.src.js +164 -0
  33. data/vendor/assets/javascripts/js/modules/series-label.src.js +606 -0
  34. data/vendor/assets/javascripts/js/modules/solid-gauge.src.js +305 -0
  35. data/vendor/assets/javascripts/js/modules/treemap.src.js +881 -0
  36. data/vendor/assets/javascripts/js/modules/xrange-series.src.js +254 -0
  37. data/vendor/assets/javascripts/js/themes/dark-blue.js +317 -0
  38. data/vendor/assets/javascripts/js/themes/dark-green.js +314 -0
  39. data/vendor/assets/javascripts/js/themes/dark-unica.js +243 -0
  40. data/vendor/assets/javascripts/js/themes/gray.js +326 -0
  41. data/vendor/assets/javascripts/js/themes/grid-light.js +99 -0
  42. data/vendor/assets/javascripts/js/themes/grid.js +131 -0
  43. data/vendor/assets/javascripts/js/themes/sand-signika.js +129 -0
  44. data/vendor/assets/javascripts/js/themes/skies.js +112 -0
  45. data/vendor/assets/javascripts/lib/canvg.src.js +3073 -0
  46. data/vendor/assets/javascripts/lib/jspdf.src.js +3031 -0
  47. data/vendor/assets/javascripts/lib/rgbcolor.src.js +299 -0
  48. data/vendor/assets/javascripts/lib/svg2pdf.src.js +1451 -0
  49. data/vendor/assets/javascripts/modules/accessibility.src.js +1072 -0
  50. data/vendor/assets/javascripts/modules/annotations.src.js +408 -0
  51. data/vendor/assets/javascripts/modules/boost.src.js +652 -0
  52. data/vendor/assets/javascripts/modules/broken-axis.src.js +338 -0
  53. data/vendor/assets/javascripts/modules/data.src.js +981 -0
  54. data/vendor/assets/javascripts/modules/drilldown.src.js +797 -0
  55. data/vendor/assets/javascripts/modules/exporting.src.js +882 -0
  56. data/vendor/assets/javascripts/modules/funnel.src.js +304 -0
  57. data/vendor/assets/javascripts/modules/gantt.src.js +815 -0
  58. data/vendor/assets/javascripts/modules/grid-axis.src.js +547 -0
  59. data/vendor/assets/javascripts/modules/heatmap.src.js +810 -0
  60. data/vendor/assets/javascripts/modules/no-data-to-display.src.js +161 -0
  61. data/vendor/assets/javascripts/modules/offline-exporting.src.js +492 -0
  62. data/vendor/assets/javascripts/modules/overlapping-datalabels.src.js +164 -0
  63. data/vendor/assets/javascripts/modules/series-label.src.js +606 -0
  64. data/vendor/assets/javascripts/modules/solid-gauge.src.js +316 -0
  65. data/vendor/assets/javascripts/modules/treemap.src.js +935 -0
  66. data/vendor/assets/javascripts/modules/xrange-series.src.js +276 -0
  67. data/vendor/assets/javascripts/themes/dark-blue.js +317 -0
  68. data/vendor/assets/javascripts/themes/dark-green.js +314 -0
  69. data/vendor/assets/javascripts/themes/dark-unica.js +243 -0
  70. data/vendor/assets/javascripts/themes/gray.js +326 -0
  71. data/vendor/assets/javascripts/themes/grid-light.js +99 -0
  72. data/vendor/assets/javascripts/themes/grid.js +131 -0
  73. data/vendor/assets/javascripts/themes/sand-signika.js +129 -0
  74. data/vendor/assets/javascripts/themes/skies.js +112 -0
  75. data/vendor/assets/stylesheets/highcharts.scss +610 -0
  76. metadata +161 -0
@@ -0,0 +1,326 @@
1
+ /**
2
+ * @license Highcharts JS v5.0.6 (2016-12-07)
3
+ *
4
+ * (c) 2009-2016 Torstein Honsi
5
+ *
6
+ * License: www.highcharts.com/license
7
+ */
8
+ (function(factory) {
9
+ if (typeof module === 'object' && module.exports) {
10
+ module.exports = factory;
11
+ } else {
12
+ factory(Highcharts);
13
+ }
14
+ }(function(Highcharts) {
15
+ (function(Highcharts) {
16
+ /**
17
+ * (c) 2010-2016 Torstein Honsi
18
+ *
19
+ * License: www.highcharts.com/license
20
+ *
21
+ * Gray theme for Highcharts JS
22
+ * @author Torstein Honsi
23
+ */
24
+
25
+ 'use strict';
26
+ Highcharts.theme = {
27
+ colors: ['#DDDF0D', '#7798BF', '#55BF3B', '#DF5353', '#aaeeee', '#ff0066', '#eeaaee',
28
+ '#55BF3B', '#DF5353', '#7798BF', '#aaeeee'
29
+ ],
30
+ chart: {
31
+ backgroundColor: {
32
+ linearGradient: {
33
+ x1: 0,
34
+ y1: 0,
35
+ x2: 0,
36
+ y2: 1
37
+ },
38
+ stops: [
39
+ [0, 'rgb(96, 96, 96)'],
40
+ [1, 'rgb(16, 16, 16)']
41
+ ]
42
+ },
43
+ borderWidth: 0,
44
+ borderRadius: 0,
45
+ plotBackgroundColor: null,
46
+ plotShadow: false,
47
+ plotBorderWidth: 0
48
+ },
49
+ title: {
50
+ style: {
51
+ color: '#FFF',
52
+ font: '16px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif'
53
+ }
54
+ },
55
+ subtitle: {
56
+ style: {
57
+ color: '#DDD',
58
+ font: '12px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif'
59
+ }
60
+ },
61
+ xAxis: {
62
+ gridLineWidth: 0,
63
+ lineColor: '#999',
64
+ tickColor: '#999',
65
+ labels: {
66
+ style: {
67
+ color: '#999',
68
+ fontWeight: 'bold'
69
+ }
70
+ },
71
+ title: {
72
+ style: {
73
+ color: '#AAA',
74
+ font: 'bold 12px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif'
75
+ }
76
+ }
77
+ },
78
+ yAxis: {
79
+ alternateGridColor: null,
80
+ minorTickInterval: null,
81
+ gridLineColor: 'rgba(255, 255, 255, .1)',
82
+ minorGridLineColor: 'rgba(255,255,255,0.07)',
83
+ lineWidth: 0,
84
+ tickWidth: 0,
85
+ labels: {
86
+ style: {
87
+ color: '#999',
88
+ fontWeight: 'bold'
89
+ }
90
+ },
91
+ title: {
92
+ style: {
93
+ color: '#AAA',
94
+ font: 'bold 12px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif'
95
+ }
96
+ }
97
+ },
98
+ legend: {
99
+ itemStyle: {
100
+ color: '#CCC'
101
+ },
102
+ itemHoverStyle: {
103
+ color: '#FFF'
104
+ },
105
+ itemHiddenStyle: {
106
+ color: '#333'
107
+ }
108
+ },
109
+ labels: {
110
+ style: {
111
+ color: '#CCC'
112
+ }
113
+ },
114
+ tooltip: {
115
+ backgroundColor: {
116
+ linearGradient: {
117
+ x1: 0,
118
+ y1: 0,
119
+ x2: 0,
120
+ y2: 1
121
+ },
122
+ stops: [
123
+ [0, 'rgba(96, 96, 96, .8)'],
124
+ [1, 'rgba(16, 16, 16, .8)']
125
+ ]
126
+ },
127
+ borderWidth: 0,
128
+ style: {
129
+ color: '#FFF'
130
+ }
131
+ },
132
+
133
+
134
+ plotOptions: {
135
+ series: {
136
+ nullColor: '#444444'
137
+ },
138
+ line: {
139
+ dataLabels: {
140
+ color: '#CCC'
141
+ },
142
+ marker: {
143
+ lineColor: '#333'
144
+ }
145
+ },
146
+ spline: {
147
+ marker: {
148
+ lineColor: '#333'
149
+ }
150
+ },
151
+ scatter: {
152
+ marker: {
153
+ lineColor: '#333'
154
+ }
155
+ },
156
+ candlestick: {
157
+ lineColor: 'white'
158
+ }
159
+ },
160
+
161
+ toolbar: {
162
+ itemStyle: {
163
+ color: '#CCC'
164
+ }
165
+ },
166
+
167
+ navigation: {
168
+ buttonOptions: {
169
+ symbolStroke: '#DDDDDD',
170
+ hoverSymbolStroke: '#FFFFFF',
171
+ theme: {
172
+ fill: {
173
+ linearGradient: {
174
+ x1: 0,
175
+ y1: 0,
176
+ x2: 0,
177
+ y2: 1
178
+ },
179
+ stops: [
180
+ [0.4, '#606060'],
181
+ [0.6, '#333333']
182
+ ]
183
+ },
184
+ stroke: '#000000'
185
+ }
186
+ }
187
+ },
188
+
189
+ // scroll charts
190
+ rangeSelector: {
191
+ buttonTheme: {
192
+ fill: {
193
+ linearGradient: {
194
+ x1: 0,
195
+ y1: 0,
196
+ x2: 0,
197
+ y2: 1
198
+ },
199
+ stops: [
200
+ [0.4, '#888'],
201
+ [0.6, '#555']
202
+ ]
203
+ },
204
+ stroke: '#000000',
205
+ style: {
206
+ color: '#CCC',
207
+ fontWeight: 'bold'
208
+ },
209
+ states: {
210
+ hover: {
211
+ fill: {
212
+ linearGradient: {
213
+ x1: 0,
214
+ y1: 0,
215
+ x2: 0,
216
+ y2: 1
217
+ },
218
+ stops: [
219
+ [0.4, '#BBB'],
220
+ [0.6, '#888']
221
+ ]
222
+ },
223
+ stroke: '#000000',
224
+ style: {
225
+ color: 'white'
226
+ }
227
+ },
228
+ select: {
229
+ fill: {
230
+ linearGradient: {
231
+ x1: 0,
232
+ y1: 0,
233
+ x2: 0,
234
+ y2: 1
235
+ },
236
+ stops: [
237
+ [0.1, '#000'],
238
+ [0.3, '#333']
239
+ ]
240
+ },
241
+ stroke: '#000000',
242
+ style: {
243
+ color: 'yellow'
244
+ }
245
+ }
246
+ }
247
+ },
248
+ inputStyle: {
249
+ backgroundColor: '#333',
250
+ color: 'silver'
251
+ },
252
+ labelStyle: {
253
+ color: 'silver'
254
+ }
255
+ },
256
+
257
+ navigator: {
258
+ handles: {
259
+ backgroundColor: '#666',
260
+ borderColor: '#AAA'
261
+ },
262
+ outlineColor: '#CCC',
263
+ maskFill: 'rgba(16, 16, 16, 0.5)',
264
+ series: {
265
+ color: '#7798BF',
266
+ lineColor: '#A6C7ED'
267
+ }
268
+ },
269
+
270
+ scrollbar: {
271
+ barBackgroundColor: {
272
+ linearGradient: {
273
+ x1: 0,
274
+ y1: 0,
275
+ x2: 0,
276
+ y2: 1
277
+ },
278
+ stops: [
279
+ [0.4, '#888'],
280
+ [0.6, '#555']
281
+ ]
282
+ },
283
+ barBorderColor: '#CCC',
284
+ buttonArrowColor: '#CCC',
285
+ buttonBackgroundColor: {
286
+ linearGradient: {
287
+ x1: 0,
288
+ y1: 0,
289
+ x2: 0,
290
+ y2: 1
291
+ },
292
+ stops: [
293
+ [0.4, '#888'],
294
+ [0.6, '#555']
295
+ ]
296
+ },
297
+ buttonBorderColor: '#CCC',
298
+ rifleColor: '#FFF',
299
+ trackBackgroundColor: {
300
+ linearGradient: {
301
+ x1: 0,
302
+ y1: 0,
303
+ x2: 0,
304
+ y2: 1
305
+ },
306
+ stops: [
307
+ [0, '#000'],
308
+ [1, '#333']
309
+ ]
310
+ },
311
+ trackBorderColor: '#666'
312
+ },
313
+
314
+ // special colors for some of the demo examples
315
+ legendBackgroundColor: 'rgba(48, 48, 48, 0.8)',
316
+ background2: 'rgb(70, 70, 70)',
317
+ dataLabelsColor: '#444',
318
+ textColor: '#E0E0E0',
319
+ maskColor: 'rgba(255,255,255,0.3)'
320
+ };
321
+
322
+ // Apply the theme
323
+ Highcharts.setOptions(Highcharts.theme);
324
+
325
+ }(Highcharts));
326
+ }));
@@ -0,0 +1,99 @@
1
+ /**
2
+ * @license Highcharts JS v5.0.6 (2016-12-07)
3
+ *
4
+ * (c) 2009-2016 Torstein Honsi
5
+ *
6
+ * License: www.highcharts.com/license
7
+ */
8
+ (function(factory) {
9
+ if (typeof module === 'object' && module.exports) {
10
+ module.exports = factory;
11
+ } else {
12
+ factory(Highcharts);
13
+ }
14
+ }(function(Highcharts) {
15
+ (function(Highcharts) {
16
+ /**
17
+ * (c) 2010-2016 Torstein Honsi
18
+ *
19
+ * License: www.highcharts.com/license
20
+ *
21
+ * Grid-light theme for Highcharts JS
22
+ * @author Torstein Honsi
23
+ */
24
+
25
+ 'use strict';
26
+ /* global document */
27
+ // Load the fonts
28
+ Highcharts.createElement('link', {
29
+ href: 'https://fonts.googleapis.com/css?family=Dosis:400,600',
30
+ rel: 'stylesheet',
31
+ type: 'text/css'
32
+ }, null, document.getElementsByTagName('head')[0]);
33
+
34
+ Highcharts.theme = {
35
+ colors: ['#7cb5ec', '#f7a35c', '#90ee7e', '#7798BF', '#aaeeee', '#ff0066', '#eeaaee',
36
+ '#55BF3B', '#DF5353', '#7798BF', '#aaeeee'
37
+ ],
38
+ chart: {
39
+ backgroundColor: null,
40
+ style: {
41
+ fontFamily: 'Dosis, sans-serif'
42
+ }
43
+ },
44
+ title: {
45
+ style: {
46
+ fontSize: '16px',
47
+ fontWeight: 'bold',
48
+ textTransform: 'uppercase'
49
+ }
50
+ },
51
+ tooltip: {
52
+ borderWidth: 0,
53
+ backgroundColor: 'rgba(219,219,216,0.8)',
54
+ shadow: false
55
+ },
56
+ legend: {
57
+ itemStyle: {
58
+ fontWeight: 'bold',
59
+ fontSize: '13px'
60
+ }
61
+ },
62
+ xAxis: {
63
+ gridLineWidth: 1,
64
+ labels: {
65
+ style: {
66
+ fontSize: '12px'
67
+ }
68
+ }
69
+ },
70
+ yAxis: {
71
+ minorTickInterval: 'auto',
72
+ title: {
73
+ style: {
74
+ textTransform: 'uppercase'
75
+ }
76
+ },
77
+ labels: {
78
+ style: {
79
+ fontSize: '12px'
80
+ }
81
+ }
82
+ },
83
+ plotOptions: {
84
+ candlestick: {
85
+ lineColor: '#404048'
86
+ }
87
+ },
88
+
89
+
90
+ // General
91
+ background2: '#F0F0EA'
92
+
93
+ };
94
+
95
+ // Apply the theme
96
+ Highcharts.setOptions(Highcharts.theme);
97
+
98
+ }(Highcharts));
99
+ }));
@@ -0,0 +1,131 @@
1
+ /**
2
+ * @license Highcharts JS v5.0.6 (2016-12-07)
3
+ *
4
+ * (c) 2009-2016 Torstein Honsi
5
+ *
6
+ * License: www.highcharts.com/license
7
+ */
8
+ (function(factory) {
9
+ if (typeof module === 'object' && module.exports) {
10
+ module.exports = factory;
11
+ } else {
12
+ factory(Highcharts);
13
+ }
14
+ }(function(Highcharts) {
15
+ (function(Highcharts) {
16
+ /**
17
+ * (c) 2010-2016 Torstein Honsi
18
+ *
19
+ * License: www.highcharts.com/license
20
+ *
21
+ * Grid theme for Highcharts JS
22
+ * @author Torstein Honsi
23
+ */
24
+
25
+ 'use strict';
26
+ Highcharts.theme = {
27
+ colors: ['#058DC7', '#50B432', '#ED561B', '#DDDF00', '#24CBE5', '#64E572', '#FF9655', '#FFF263', '#6AF9C4'],
28
+ chart: {
29
+ backgroundColor: {
30
+ linearGradient: {
31
+ x1: 0,
32
+ y1: 0,
33
+ x2: 1,
34
+ y2: 1
35
+ },
36
+ stops: [
37
+ [0, 'rgb(255, 255, 255)'],
38
+ [1, 'rgb(240, 240, 255)']
39
+ ]
40
+ },
41
+ borderWidth: 2,
42
+ plotBackgroundColor: 'rgba(255, 255, 255, .9)',
43
+ plotShadow: true,
44
+ plotBorderWidth: 1
45
+ },
46
+ title: {
47
+ style: {
48
+ color: '#000',
49
+ font: 'bold 16px "Trebuchet MS", Verdana, sans-serif'
50
+ }
51
+ },
52
+ subtitle: {
53
+ style: {
54
+ color: '#666666',
55
+ font: 'bold 12px "Trebuchet MS", Verdana, sans-serif'
56
+ }
57
+ },
58
+ xAxis: {
59
+ gridLineWidth: 1,
60
+ lineColor: '#000',
61
+ tickColor: '#000',
62
+ labels: {
63
+ style: {
64
+ color: '#000',
65
+ font: '11px Trebuchet MS, Verdana, sans-serif'
66
+ }
67
+ },
68
+ title: {
69
+ style: {
70
+ color: '#333',
71
+ fontWeight: 'bold',
72
+ fontSize: '12px',
73
+ fontFamily: 'Trebuchet MS, Verdana, sans-serif'
74
+
75
+ }
76
+ }
77
+ },
78
+ yAxis: {
79
+ minorTickInterval: 'auto',
80
+ lineColor: '#000',
81
+ lineWidth: 1,
82
+ tickWidth: 1,
83
+ tickColor: '#000',
84
+ labels: {
85
+ style: {
86
+ color: '#000',
87
+ font: '11px Trebuchet MS, Verdana, sans-serif'
88
+ }
89
+ },
90
+ title: {
91
+ style: {
92
+ color: '#333',
93
+ fontWeight: 'bold',
94
+ fontSize: '12px',
95
+ fontFamily: 'Trebuchet MS, Verdana, sans-serif'
96
+ }
97
+ }
98
+ },
99
+ legend: {
100
+ itemStyle: {
101
+ font: '9pt Trebuchet MS, Verdana, sans-serif',
102
+ color: 'black'
103
+
104
+ },
105
+ itemHoverStyle: {
106
+ color: '#039'
107
+ },
108
+ itemHiddenStyle: {
109
+ color: 'gray'
110
+ }
111
+ },
112
+ labels: {
113
+ style: {
114
+ color: '#99b'
115
+ }
116
+ },
117
+
118
+ navigation: {
119
+ buttonOptions: {
120
+ theme: {
121
+ stroke: '#CCCCCC'
122
+ }
123
+ }
124
+ }
125
+ };
126
+
127
+ // Apply the theme
128
+ Highcharts.setOptions(Highcharts.theme);
129
+
130
+ }(Highcharts));
131
+ }));
@@ -0,0 +1,129 @@
1
+ /**
2
+ * @license Highcharts JS v5.0.6 (2016-12-07)
3
+ *
4
+ * (c) 2009-2016 Torstein Honsi
5
+ *
6
+ * License: www.highcharts.com/license
7
+ */
8
+ (function(factory) {
9
+ if (typeof module === 'object' && module.exports) {
10
+ module.exports = factory;
11
+ } else {
12
+ factory(Highcharts);
13
+ }
14
+ }(function(Highcharts) {
15
+ (function(Highcharts) {
16
+ /**
17
+ * (c) 2010-2016 Torstein Honsi
18
+ *
19
+ * License: www.highcharts.com/license
20
+ *
21
+ * Sand-Signika theme for Highcharts JS
22
+ * @author Torstein Honsi
23
+ */
24
+
25
+ 'use strict';
26
+ /* global document */
27
+ // Load the fonts
28
+ Highcharts.createElement('link', {
29
+ href: 'https://fonts.googleapis.com/css?family=Signika:400,700',
30
+ rel: 'stylesheet',
31
+ type: 'text/css'
32
+ }, null, document.getElementsByTagName('head')[0]);
33
+
34
+ // Add the background image to the container
35
+ Highcharts.wrap(Highcharts.Chart.prototype, 'getContainer', function(proceed) {
36
+ proceed.call(this);
37
+ this.container.style.background = 'url(http://www.highcharts.com/samples/graphics/sand.png)';
38
+ });
39
+
40
+
41
+ Highcharts.theme = {
42
+ colors: ['#f45b5b', '#8085e9', '#8d4654', '#7798BF', '#aaeeee', '#ff0066', '#eeaaee',
43
+ '#55BF3B', '#DF5353', '#7798BF', '#aaeeee'
44
+ ],
45
+ chart: {
46
+ backgroundColor: null,
47
+ style: {
48
+ fontFamily: 'Signika, serif'
49
+ }
50
+ },
51
+ title: {
52
+ style: {
53
+ color: 'black',
54
+ fontSize: '16px',
55
+ fontWeight: 'bold'
56
+ }
57
+ },
58
+ subtitle: {
59
+ style: {
60
+ color: 'black'
61
+ }
62
+ },
63
+ tooltip: {
64
+ borderWidth: 0
65
+ },
66
+ legend: {
67
+ itemStyle: {
68
+ fontWeight: 'bold',
69
+ fontSize: '13px'
70
+ }
71
+ },
72
+ xAxis: {
73
+ labels: {
74
+ style: {
75
+ color: '#6e6e70'
76
+ }
77
+ }
78
+ },
79
+ yAxis: {
80
+ labels: {
81
+ style: {
82
+ color: '#6e6e70'
83
+ }
84
+ }
85
+ },
86
+ plotOptions: {
87
+ series: {
88
+ shadow: true
89
+ },
90
+ candlestick: {
91
+ lineColor: '#404048'
92
+ },
93
+ map: {
94
+ shadow: false
95
+ }
96
+ },
97
+
98
+ // Highstock specific
99
+ navigator: {
100
+ xAxis: {
101
+ gridLineColor: '#D0D0D8'
102
+ }
103
+ },
104
+ rangeSelector: {
105
+ buttonTheme: {
106
+ fill: 'white',
107
+ stroke: '#C0C0C8',
108
+ 'stroke-width': 1,
109
+ states: {
110
+ select: {
111
+ fill: '#D0D0D8'
112
+ }
113
+ }
114
+ }
115
+ },
116
+ scrollbar: {
117
+ trackBorderColor: '#C0C0C8'
118
+ },
119
+
120
+ // General
121
+ background2: '#E0E0E8'
122
+
123
+ };
124
+
125
+ // Apply the theme
126
+ Highcharts.setOptions(Highcharts.theme);
127
+
128
+ }(Highcharts));
129
+ }));