corrade-nucleus-nucleons – Diff between revs 1 and 11
?pathlinks?
Rev 1 | Rev 11 | |||
---|---|---|---|---|
1 | /** |
1 | /** |
|
2 | * @license Highcharts JS v5.0.10 (2017-03-31) |
2 | * @license Highcharts JS v5.0.12 (2017-05-24) |
|
3 | * |
3 | * |
|
4 | * (c) 2009-2017 Torstein Honsi |
4 | * (c) 2009-2017 Torstein Honsi |
|
5 | * |
5 | * |
|
6 | * License: www.highcharts.com/license |
6 | * License: www.highcharts.com/license |
|
7 | */ |
7 | */ |
|
8 | 'use strict'; |
8 | 'use strict'; |
|
9 | (function(factory) { |
9 | (function(factory) { |
|
10 | if (typeof module === 'object' && module.exports) { |
10 | if (typeof module === 'object' && module.exports) { |
|
11 | module.exports = factory; |
11 | module.exports = factory; |
|
12 | } else { |
12 | } else { |
|
13 | factory(Highcharts); |
13 | factory(Highcharts); |
|
14 | } |
14 | } |
|
15 | }(function(Highcharts) { |
15 | }(function(Highcharts) { |
|
16 | (function(Highcharts) { |
16 | (function(Highcharts) { |
|
17 | /** |
17 | /** |
|
18 | * (c) 2010-2017 Torstein Honsi |
18 | * (c) 2010-2017 Torstein Honsi |
|
19 | * |
19 | * |
|
20 | * License: www.highcharts.com/license |
20 | * License: www.highcharts.com/license |
|
21 | * |
21 | * |
|
22 | * Dark blue theme for Highcharts JS |
22 | * Dark blue theme for Highcharts JS |
|
23 | * @author Torstein Honsi |
23 | * @author Torstein Honsi |
|
24 | */ |
24 | */ |
|
25 | |
25 | |
|
26 | Highcharts.theme = { |
26 | Highcharts.theme = { |
|
27 | colors: ['#DDDF0D', '#55BF3B', '#DF5353', '#7798BF', '#aaeeee', '#ff0066', '#eeaaee', |
27 | colors: ['#DDDF0D', '#55BF3B', '#DF5353', '#7798BF', '#aaeeee', '#ff0066', '#eeaaee', |
|
28 | '#55BF3B', '#DF5353', '#7798BF', '#aaeeee' |
28 | '#55BF3B', '#DF5353', '#7798BF', '#aaeeee' |
|
29 | ], |
29 | ], |
|
30 | chart: { |
30 | chart: { |
|
31 | backgroundColor: { |
31 | backgroundColor: { |
|
32 | linearGradient: [0, 0, 250, 500], |
32 | linearGradient: [0, 0, 250, 500], |
|
33 | stops: [ |
33 | stops: [ |
|
34 | [0, 'rgb(48, 96, 48)'], |
34 | [0, 'rgb(48, 96, 48)'], |
|
35 | [1, 'rgb(0, 0, 0)'] |
35 | [1, 'rgb(0, 0, 0)'] |
|
36 | ] |
36 | ] |
|
37 | }, |
37 | }, |
|
38 | borderColor: '#000000', |
38 | borderColor: '#000000', |
|
39 | borderWidth: 2, |
39 | borderWidth: 2, |
|
40 | className: 'dark-container', |
40 | className: 'dark-container', |
|
41 | plotBackgroundColor: 'rgba(255, 255, 255, .1)', |
41 | plotBackgroundColor: 'rgba(255, 255, 255, .1)', |
|
42 | plotBorderColor: '#CCCCCC', |
42 | plotBorderColor: '#CCCCCC', |
|
43 | plotBorderWidth: 1 |
43 | plotBorderWidth: 1 |
|
44 | }, |
44 | }, |
|
45 | title: { |
45 | title: { |
|
46 | style: { |
46 | style: { |
|
47 | color: '#C0C0C0', |
47 | color: '#C0C0C0', |
|
48 | font: 'bold 16px "Trebuchet MS", Verdana, sans-serif' |
48 | font: 'bold 16px "Trebuchet MS", Verdana, sans-serif' |
|
49 | } |
49 | } |
|
50 | }, |
50 | }, |
|
51 | subtitle: { |
51 | subtitle: { |
|
52 | style: { |
52 | style: { |
|
53 | color: '#666666', |
53 | color: '#666666', |
|
54 | font: 'bold 12px "Trebuchet MS", Verdana, sans-serif' |
54 | font: 'bold 12px "Trebuchet MS", Verdana, sans-serif' |
|
55 | } |
55 | } |
|
56 | }, |
56 | }, |
|
57 | xAxis: { |
57 | xAxis: { |
|
58 | gridLineColor: '#333333', |
58 | gridLineColor: '#333333', |
|
59 | gridLineWidth: 1, |
59 | gridLineWidth: 1, |
|
60 | labels: { |
60 | labels: { |
|
61 | style: { |
61 | style: { |
|
62 | color: '#A0A0A0' |
62 | color: '#A0A0A0' |
|
63 | } |
63 | } |
|
64 | }, |
64 | }, |
|
65 | lineColor: '#A0A0A0', |
65 | lineColor: '#A0A0A0', |
|
66 | tickColor: '#A0A0A0', |
66 | tickColor: '#A0A0A0', |
|
67 | title: { |
67 | title: { |
|
68 | style: { |
68 | style: { |
|
69 | color: '#CCC', |
69 | color: '#CCC', |
|
70 | fontWeight: 'bold', |
70 | fontWeight: 'bold', |
|
71 | fontSize: '12px', |
71 | fontSize: '12px', |
|
72 | fontFamily: 'Trebuchet MS, Verdana, sans-serif' |
72 | fontFamily: 'Trebuchet MS, Verdana, sans-serif' |
|
73 | |
73 | |
|
74 | } |
74 | } |
|
75 | } |
75 | } |
|
76 | }, |
76 | }, |
|
77 | yAxis: { |
77 | yAxis: { |
|
78 | gridLineColor: '#333333', |
78 | gridLineColor: '#333333', |
|
79 | labels: { |
79 | labels: { |
|
80 | style: { |
80 | style: { |
|
81 | color: '#A0A0A0' |
81 | color: '#A0A0A0' |
|
82 | } |
82 | } |
|
83 | }, |
83 | }, |
|
84 | lineColor: '#A0A0A0', |
84 | lineColor: '#A0A0A0', |
|
85 | minorTickInterval: null, |
85 | minorTickInterval: null, |
|
86 | tickColor: '#A0A0A0', |
86 | tickColor: '#A0A0A0', |
|
87 | tickWidth: 1, |
87 | tickWidth: 1, |
|
88 | title: { |
88 | title: { |
|
89 | style: { |
89 | style: { |
|
90 | color: '#CCC', |
90 | color: '#CCC', |
|
91 | fontWeight: 'bold', |
91 | fontWeight: 'bold', |
|
92 | fontSize: '12px', |
92 | fontSize: '12px', |
|
93 | fontFamily: 'Trebuchet MS, Verdana, sans-serif' |
93 | fontFamily: 'Trebuchet MS, Verdana, sans-serif' |
|
94 | } |
94 | } |
|
95 | } |
95 | } |
|
96 | }, |
96 | }, |
|
97 | tooltip: { |
97 | tooltip: { |
|
98 | backgroundColor: 'rgba(0, 0, 0, 0.75)', |
98 | backgroundColor: 'rgba(0, 0, 0, 0.75)', |
|
99 | style: { |
99 | style: { |
|
100 | color: '#F0F0F0' |
100 | color: '#F0F0F0' |
|
101 | } |
101 | } |
|
102 | }, |
102 | }, |
|
103 | toolbar: { |
103 | toolbar: { |
|
104 | itemStyle: { |
104 | itemStyle: { |
|
105 | color: 'silver' |
105 | color: 'silver' |
|
106 | } |
106 | } |
|
107 | }, |
107 | }, |
|
108 | plotOptions: { |
108 | plotOptions: { |
|
109 | line: { |
109 | line: { |
|
110 | dataLabels: { |
110 | dataLabels: { |
|
111 | color: '#CCC' |
111 | color: '#CCC' |
|
112 | }, |
112 | }, |
|
113 | marker: { |
113 | marker: { |
|
114 | lineColor: '#333' |
114 | lineColor: '#333' |
|
115 | } |
115 | } |
|
116 | }, |
116 | }, |
|
117 | spline: { |
117 | spline: { |
|
118 | marker: { |
118 | marker: { |
|
119 | lineColor: '#333' |
119 | lineColor: '#333' |
|
120 | } |
120 | } |
|
121 | }, |
121 | }, |
|
122 | scatter: { |
122 | scatter: { |
|
123 | marker: { |
123 | marker: { |
|
124 | lineColor: '#333' |
124 | lineColor: '#333' |
|
125 | } |
125 | } |
|
126 | }, |
126 | }, |
|
127 | candlestick: { |
127 | candlestick: { |
|
128 | lineColor: 'white' |
128 | lineColor: 'white' |
|
129 | } |
129 | } |
|
130 | }, |
130 | }, |
|
131 | legend: { |
131 | legend: { |
|
132 | itemStyle: { |
132 | itemStyle: { |
|
133 | font: '9pt Trebuchet MS, Verdana, sans-serif', |
133 | font: '9pt Trebuchet MS, Verdana, sans-serif', |
|
134 | color: '#A0A0A0' |
134 | color: '#A0A0A0' |
|
135 | }, |
135 | }, |
|
136 | itemHoverStyle: { |
136 | itemHoverStyle: { |
|
137 | color: '#FFF' |
137 | color: '#FFF' |
|
138 | }, |
138 | }, |
|
139 | itemHiddenStyle: { |
139 | itemHiddenStyle: { |
|
140 | color: '#444' |
140 | color: '#444' |
|
141 | } |
141 | } |
|
142 | }, |
142 | }, |
|
143 | credits: { |
143 | credits: { |
|
144 | style: { |
144 | style: { |
|
145 | color: '#666' |
145 | color: '#666' |
|
146 | } |
146 | } |
|
147 | }, |
147 | }, |
|
148 | labels: { |
148 | labels: { |
|
149 | style: { |
149 | style: { |
|
150 | color: '#CCC' |
150 | color: '#CCC' |
|
151 | } |
151 | } |
|
152 | }, |
152 | }, |
|
153 | |
153 | |
|
154 | |
154 | |
|
155 | navigation: { |
155 | navigation: { |
|
156 | buttonOptions: { |
156 | buttonOptions: { |
|
157 | symbolStroke: '#DDDDDD', |
157 | symbolStroke: '#DDDDDD', |
|
158 | hoverSymbolStroke: '#FFFFFF', |
158 | hoverSymbolStroke: '#FFFFFF', |
|
159 | theme: { |
159 | theme: { |
|
160 | fill: { |
160 | fill: { |
|
161 | linearGradient: { |
161 | linearGradient: { |
|
162 | x1: 0, |
162 | x1: 0, |
|
163 | y1: 0, |
163 | y1: 0, |
|
164 | x2: 0, |
164 | x2: 0, |
|
165 | y2: 1 |
165 | y2: 1 |
|
166 | }, |
166 | }, |
|
167 | stops: [ |
167 | stops: [ |
|
168 | [0.4, '#606060'], |
168 | [0.4, '#606060'], |
|
169 | [0.6, '#333333'] |
169 | [0.6, '#333333'] |
|
170 | ] |
170 | ] |
|
171 | }, |
171 | }, |
|
172 | stroke: '#000000' |
172 | stroke: '#000000' |
|
173 | } |
173 | } |
|
174 | } |
174 | } |
|
175 | }, |
175 | }, |
|
176 | |
176 | |
|
177 | // scroll charts |
177 | // scroll charts |
|
178 | rangeSelector: { |
178 | rangeSelector: { |
|
179 | buttonTheme: { |
179 | buttonTheme: { |
|
180 | fill: { |
180 | fill: { |
|
181 | linearGradient: { |
181 | linearGradient: { |
|
182 | x1: 0, |
182 | x1: 0, |
|
183 | y1: 0, |
183 | y1: 0, |
|
184 | x2: 0, |
184 | x2: 0, |
|
185 | y2: 1 |
185 | y2: 1 |
|
186 | }, |
186 | }, |
|
187 | stops: [ |
187 | stops: [ |
|
188 | [0.4, '#888'], |
188 | [0.4, '#888'], |
|
189 | [0.6, '#555'] |
189 | [0.6, '#555'] |
|
190 | ] |
190 | ] |
|
191 | }, |
191 | }, |
|
192 | stroke: '#000000', |
192 | stroke: '#000000', |
|
193 | style: { |
193 | style: { |
|
194 | color: '#CCC', |
194 | color: '#CCC', |
|
195 | fontWeight: 'bold' |
195 | fontWeight: 'bold' |
|
196 | }, |
196 | }, |
|
197 | states: { |
197 | states: { |
|
198 | hover: { |
198 | hover: { |
|
199 | fill: { |
199 | fill: { |
|
200 | linearGradient: { |
200 | linearGradient: { |
|
201 | x1: 0, |
201 | x1: 0, |
|
202 | y1: 0, |
202 | y1: 0, |
|
203 | x2: 0, |
203 | x2: 0, |
|
204 | y2: 1 |
204 | y2: 1 |
|
205 | }, |
205 | }, |
|
206 | stops: [ |
206 | stops: [ |
|
207 | [0.4, '#BBB'], |
207 | [0.4, '#BBB'], |
|
208 | [0.6, '#888'] |
208 | [0.6, '#888'] |
|
209 | ] |
209 | ] |
|
210 | }, |
210 | }, |
|
211 | stroke: '#000000', |
211 | stroke: '#000000', |
|
212 | style: { |
212 | style: { |
|
213 | color: 'white' |
213 | color: 'white' |
|
214 | } |
214 | } |
|
215 | }, |
215 | }, |
|
216 | select: { |
216 | select: { |
|
217 | fill: { |
217 | fill: { |
|
218 | linearGradient: { |
218 | linearGradient: { |
|
219 | x1: 0, |
219 | x1: 0, |
|
220 | y1: 0, |
220 | y1: 0, |
|
221 | x2: 0, |
221 | x2: 0, |
|
222 | y2: 1 |
222 | y2: 1 |
|
223 | }, |
223 | }, |
|
224 | stops: [ |
224 | stops: [ |
|
225 | [0.1, '#000'], |
225 | [0.1, '#000'], |
|
226 | [0.3, '#333'] |
226 | [0.3, '#333'] |
|
227 | ] |
227 | ] |
|
228 | }, |
228 | }, |
|
229 | stroke: '#000000', |
229 | stroke: '#000000', |
|
230 | style: { |
230 | style: { |
|
231 | color: 'yellow' |
231 | color: 'yellow' |
|
232 | } |
232 | } |
|
233 | } |
233 | } |
|
234 | } |
234 | } |
|
235 | }, |
235 | }, |
|
236 | inputStyle: { |
236 | inputStyle: { |
|
237 | backgroundColor: '#333', |
237 | backgroundColor: '#333', |
|
238 | color: 'silver' |
238 | color: 'silver' |
|
239 | }, |
239 | }, |
|
240 | labelStyle: { |
240 | labelStyle: { |
|
241 | color: 'silver' |
241 | color: 'silver' |
|
242 | } |
242 | } |
|
243 | }, |
243 | }, |
|
244 | |
244 | |
|
245 | navigator: { |
245 | navigator: { |
|
246 | handles: { |
246 | handles: { |
|
247 | backgroundColor: '#666', |
247 | backgroundColor: '#666', |
|
248 | borderColor: '#AAA' |
248 | borderColor: '#AAA' |
|
249 | }, |
249 | }, |
|
250 | outlineColor: '#CCC', |
250 | outlineColor: '#CCC', |
|
251 | maskFill: 'rgba(16, 16, 16, 0.5)', |
251 | maskFill: 'rgba(16, 16, 16, 0.5)', |
|
252 | series: { |
252 | series: { |
|
253 | color: '#7798BF', |
253 | color: '#7798BF', |
|
254 | lineColor: '#A6C7ED' |
254 | lineColor: '#A6C7ED' |
|
255 | } |
255 | } |
|
256 | }, |
256 | }, |
|
257 | |
257 | |
|
258 | scrollbar: { |
258 | scrollbar: { |
|
259 | barBackgroundColor: { |
259 | barBackgroundColor: { |
|
260 | linearGradient: { |
260 | linearGradient: { |
|
261 | x1: 0, |
261 | x1: 0, |
|
262 | y1: 0, |
262 | y1: 0, |
|
263 | x2: 0, |
263 | x2: 0, |
|
264 | y2: 1 |
264 | y2: 1 |
|
265 | }, |
265 | }, |
|
266 | stops: [ |
266 | stops: [ |
|
267 | [0.4, '#888'], |
267 | [0.4, '#888'], |
|
268 | [0.6, '#555'] |
268 | [0.6, '#555'] |
|
269 | ] |
269 | ] |
|
270 | }, |
270 | }, |
|
271 | barBorderColor: '#CCC', |
271 | barBorderColor: '#CCC', |
|
272 | buttonArrowColor: '#CCC', |
272 | buttonArrowColor: '#CCC', |
|
273 | buttonBackgroundColor: { |
273 | buttonBackgroundColor: { |
|
274 | linearGradient: { |
274 | linearGradient: { |
|
275 | x1: 0, |
275 | x1: 0, |
|
276 | y1: 0, |
276 | y1: 0, |
|
277 | x2: 0, |
277 | x2: 0, |
|
278 | y2: 1 |
278 | y2: 1 |
|
279 | }, |
279 | }, |
|
280 | stops: [ |
280 | stops: [ |
|
281 | [0.4, '#888'], |
281 | [0.4, '#888'], |
|
282 | [0.6, '#555'] |
282 | [0.6, '#555'] |
|
283 | ] |
283 | ] |
|
284 | }, |
284 | }, |
|
285 | buttonBorderColor: '#CCC', |
285 | buttonBorderColor: '#CCC', |
|
286 | rifleColor: '#FFF', |
286 | rifleColor: '#FFF', |
|
287 | trackBackgroundColor: { |
287 | trackBackgroundColor: { |
|
288 | linearGradient: { |
288 | linearGradient: { |
|
289 | x1: 0, |
289 | x1: 0, |
|
290 | y1: 0, |
290 | y1: 0, |
|
291 | x2: 0, |
291 | x2: 0, |
|
292 | y2: 1 |
292 | y2: 1 |
|
293 | }, |
293 | }, |
|
294 | stops: [ |
294 | stops: [ |
|
295 | [0, '#000'], |
295 | [0, '#000'], |
|
296 | [1, '#333'] |
296 | [1, '#333'] |
|
297 | ] |
297 | ] |
|
298 | }, |
298 | }, |
|
299 | trackBorderColor: '#666' |
299 | trackBorderColor: '#666' |
|
300 | }, |
300 | }, |
|
301 | |
301 | |
|
302 | // special colors for some of the |
302 | // special colors for some of the |
|
303 | legendBackgroundColor: 'rgba(0, 0, 0, 0.5)', |
303 | legendBackgroundColor: 'rgba(0, 0, 0, 0.5)', |
|
304 | background2: 'rgb(35, 35, 70)', |
304 | background2: 'rgb(35, 35, 70)', |
|
305 | dataLabelsColor: '#444', |
305 | dataLabelsColor: '#444', |
|
306 | textColor: '#C0C0C0', |
306 | textColor: '#C0C0C0', |
|
307 | maskColor: 'rgba(255,255,255,0.3)' |
307 | maskColor: 'rgba(255,255,255,0.3)' |
|
308 | }; |
308 | }; |
|
309 | |
309 | |
|
310 | // Apply the theme |
310 | // Apply the theme |
|
311 | Highcharts.setOptions(Highcharts.theme); |
311 | Highcharts.setOptions(Highcharts.theme); |
|
312 | |
312 | |
|
313 | }(Highcharts)); |
313 | }(Highcharts)); |
|
314 | })); |
314 | })); |
|
315 | |
315 | |