corrade-nucleus-nucleons – Diff between revs 1 and 11

Subversion Repositories:
Rev:
Only display areas with differencesIgnore whitespace
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 theme for Highcharts JS 22 * Dark theme for Highcharts JS
23 * @author Torstein Honsi 23 * @author Torstein Honsi
24 */ 24 */
25   25  
26 /* global document */ 26 /* global document */
27 // Load the fonts 27 // Load the fonts
28 Highcharts.createElement('link', { 28 Highcharts.createElement('link', {
29 href: 'https://fonts.googleapis.com/css?family=Unica+One', 29 href: 'https://fonts.googleapis.com/css?family=Unica+One',
30 rel: 'stylesheet', 30 rel: 'stylesheet',
31 type: 'text/css' 31 type: 'text/css'
32 }, null, document.getElementsByTagName('head')[0]); 32 }, null, document.getElementsByTagName('head')[0]);
33   33  
34 Highcharts.theme = { 34 Highcharts.theme = {
35 colors: ['#2b908f', '#90ee7e', '#f45b5b', '#7798BF', '#aaeeee', '#ff0066', '#eeaaee', 35 colors: ['#2b908f', '#90ee7e', '#f45b5b', '#7798BF', '#aaeeee', '#ff0066', '#eeaaee',
36 '#55BF3B', '#DF5353', '#7798BF', '#aaeeee' 36 '#55BF3B', '#DF5353', '#7798BF', '#aaeeee'
37 ], 37 ],
38 chart: { 38 chart: {
39 backgroundColor: { 39 backgroundColor: {
40 linearGradient: { 40 linearGradient: {
41 x1: 0, 41 x1: 0,
42 y1: 0, 42 y1: 0,
43 x2: 1, 43 x2: 1,
44 y2: 1 44 y2: 1
45 }, 45 },
46 stops: [ 46 stops: [
47 [0, '#2a2a2b'], 47 [0, '#2a2a2b'],
48 [1, '#3e3e40'] 48 [1, '#3e3e40']
49 ] 49 ]
50 }, 50 },
51 style: { 51 style: {
52 fontFamily: '\'Unica One\', sans-serif' 52 fontFamily: '\'Unica One\', sans-serif'
53 }, 53 },
54 plotBorderColor: '#606063' 54 plotBorderColor: '#606063'
55 }, 55 },
56 title: { 56 title: {
57 style: { 57 style: {
58 color: '#E0E0E3', 58 color: '#E0E0E3',
59 textTransform: 'uppercase', 59 textTransform: 'uppercase',
60 fontSize: '20px' 60 fontSize: '20px'
61 } 61 }
62 }, 62 },
63 subtitle: { 63 subtitle: {
64 style: { 64 style: {
65 color: '#E0E0E3', 65 color: '#E0E0E3',
66 textTransform: 'uppercase' 66 textTransform: 'uppercase'
67 } 67 }
68 }, 68 },
69 xAxis: { 69 xAxis: {
70 gridLineColor: '#707073', 70 gridLineColor: '#707073',
71 labels: { 71 labels: {
72 style: { 72 style: {
73 color: '#E0E0E3' 73 color: '#E0E0E3'
74 } 74 }
75 }, 75 },
76 lineColor: '#707073', 76 lineColor: '#707073',
77 minorGridLineColor: '#505053', 77 minorGridLineColor: '#505053',
78 tickColor: '#707073', 78 tickColor: '#707073',
79 title: { 79 title: {
80 style: { 80 style: {
81 color: '#A0A0A3' 81 color: '#A0A0A3'
82   82  
83 } 83 }
84 } 84 }
85 }, 85 },
86 yAxis: { 86 yAxis: {
87 gridLineColor: '#707073', 87 gridLineColor: '#707073',
88 labels: { 88 labels: {
89 style: { 89 style: {
90 color: '#E0E0E3' 90 color: '#E0E0E3'
91 } 91 }
92 }, 92 },
93 lineColor: '#707073', 93 lineColor: '#707073',
94 minorGridLineColor: '#505053', 94 minorGridLineColor: '#505053',
95 tickColor: '#707073', 95 tickColor: '#707073',
96 tickWidth: 1, 96 tickWidth: 1,
97 title: { 97 title: {
98 style: { 98 style: {
99 color: '#A0A0A3' 99 color: '#A0A0A3'
100 } 100 }
101 } 101 }
102 }, 102 },
103 tooltip: { 103 tooltip: {
104 backgroundColor: 'rgba(0, 0, 0, 0.85)', 104 backgroundColor: 'rgba(0, 0, 0, 0.85)',
105 style: { 105 style: {
106 color: '#F0F0F0' 106 color: '#F0F0F0'
107 } 107 }
108 }, 108 },
109 plotOptions: { 109 plotOptions: {
110 series: { 110 series: {
111 dataLabels: { 111 dataLabels: {
112 color: '#B0B0B3' 112 color: '#B0B0B3'
113 }, 113 },
114 marker: { 114 marker: {
115 lineColor: '#333' 115 lineColor: '#333'
116 } 116 }
117 }, 117 },
118 boxplot: { 118 boxplot: {
119 fillColor: '#505053' 119 fillColor: '#505053'
120 }, 120 },
121 candlestick: { 121 candlestick: {
122 lineColor: 'white' 122 lineColor: 'white'
123 }, 123 },
124 errorbar: { 124 errorbar: {
125 color: 'white' 125 color: 'white'
126 } 126 }
127 }, 127 },
128 legend: { 128 legend: {
129 itemStyle: { 129 itemStyle: {
130 color: '#E0E0E3' 130 color: '#E0E0E3'
131 }, 131 },
132 itemHoverStyle: { 132 itemHoverStyle: {
133 color: '#FFF' 133 color: '#FFF'
134 }, 134 },
135 itemHiddenStyle: { 135 itemHiddenStyle: {
136 color: '#606063' 136 color: '#606063'
137 } 137 }
138 }, 138 },
139 credits: { 139 credits: {
140 style: { 140 style: {
141 color: '#666' 141 color: '#666'
142 } 142 }
143 }, 143 },
144 labels: { 144 labels: {
145 style: { 145 style: {
146 color: '#707073' 146 color: '#707073'
147 } 147 }
148 }, 148 },
149   149  
150 drilldown: { 150 drilldown: {
151 activeAxisLabelStyle: { 151 activeAxisLabelStyle: {
152 color: '#F0F0F3' 152 color: '#F0F0F3'
153 }, 153 },
154 activeDataLabelStyle: { 154 activeDataLabelStyle: {
155 color: '#F0F0F3' 155 color: '#F0F0F3'
156 } 156 }
157 }, 157 },
158   158  
159 navigation: { 159 navigation: {
160 buttonOptions: { 160 buttonOptions: {
161 symbolStroke: '#DDDDDD', 161 symbolStroke: '#DDDDDD',
162 theme: { 162 theme: {
163 fill: '#505053' 163 fill: '#505053'
164 } 164 }
165 } 165 }
166 }, 166 },
167   167  
168 // scroll charts 168 // scroll charts
169 rangeSelector: { 169 rangeSelector: {
170 buttonTheme: { 170 buttonTheme: {
171 fill: '#505053', 171 fill: '#505053',
172 stroke: '#000000', 172 stroke: '#000000',
173 style: { 173 style: {
174 color: '#CCC' 174 color: '#CCC'
175 }, 175 },
176 states: { 176 states: {
177 hover: { 177 hover: {
178 fill: '#707073', 178 fill: '#707073',
179 stroke: '#000000', 179 stroke: '#000000',
180 style: { 180 style: {
181 color: 'white' 181 color: 'white'
182 } 182 }
183 }, 183 },
184 select: { 184 select: {
185 fill: '#000003', 185 fill: '#000003',
186 stroke: '#000000', 186 stroke: '#000000',
187 style: { 187 style: {
188 color: 'white' 188 color: 'white'
189 } 189 }
190 } 190 }
191 } 191 }
192 }, 192 },
193 inputBoxBorderColor: '#505053', 193 inputBoxBorderColor: '#505053',
194 inputStyle: { 194 inputStyle: {
195 backgroundColor: '#333', 195 backgroundColor: '#333',
196 color: 'silver' 196 color: 'silver'
197 }, 197 },
198 labelStyle: { 198 labelStyle: {
199 color: 'silver' 199 color: 'silver'
200 } 200 }
201 }, 201 },
202   202  
203 navigator: { 203 navigator: {
204 handles: { 204 handles: {
205 backgroundColor: '#666', 205 backgroundColor: '#666',
206 borderColor: '#AAA' 206 borderColor: '#AAA'
207 }, 207 },
208 outlineColor: '#CCC', 208 outlineColor: '#CCC',
209 maskFill: 'rgba(255,255,255,0.1)', 209 maskFill: 'rgba(255,255,255,0.1)',
210 series: { 210 series: {
211 color: '#7798BF', 211 color: '#7798BF',
212 lineColor: '#A6C7ED' 212 lineColor: '#A6C7ED'
213 }, 213 },
214 xAxis: { 214 xAxis: {
215 gridLineColor: '#505053' 215 gridLineColor: '#505053'
216 } 216 }
217 }, 217 },
218   218  
219 scrollbar: { 219 scrollbar: {
220 barBackgroundColor: '#808083', 220 barBackgroundColor: '#808083',
221 barBorderColor: '#808083', 221 barBorderColor: '#808083',
222 buttonArrowColor: '#CCC', 222 buttonArrowColor: '#CCC',
223 buttonBackgroundColor: '#606063', 223 buttonBackgroundColor: '#606063',
224 buttonBorderColor: '#606063', 224 buttonBorderColor: '#606063',
225 rifleColor: '#FFF', 225 rifleColor: '#FFF',
226 trackBackgroundColor: '#404043', 226 trackBackgroundColor: '#404043',
227 trackBorderColor: '#404043' 227 trackBorderColor: '#404043'
228 }, 228 },
229   229  
230 // special colors for some of the 230 // special colors for some of the
231 legendBackgroundColor: 'rgba(0, 0, 0, 0.5)', 231 legendBackgroundColor: 'rgba(0, 0, 0, 0.5)',
232 background2: '#505053', 232 background2: '#505053',
233 dataLabelsColor: '#B0B0B3', 233 dataLabelsColor: '#B0B0B3',
234 textColor: '#C0C0C0', 234 textColor: '#C0C0C0',
235 contrastTextColor: '#F0F0F3', 235 contrastTextColor: '#F0F0F3',
236 maskColor: 'rgba(255,255,255,0.3)' 236 maskColor: 'rgba(255,255,255,0.3)'
237 }; 237 };
238   238  
239 // Apply the theme 239 // Apply the theme
240 Highcharts.setOptions(Highcharts.theme); 240 Highcharts.setOptions(Highcharts.theme);
241   241  
242 }(Highcharts)); 242 }(Highcharts));
243 })); 243 }));
244   244