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 | * Grid theme for Highcharts JS |
22 | * Grid theme for Highcharts JS |
|
23 | * @author Torstein Honsi |
23 | * @author Torstein Honsi |
|
24 | */ |
24 | */ |
|
25 | |
25 | |
|
26 | Highcharts.theme = { |
26 | Highcharts.theme = { |
|
27 | colors: ['#058DC7', '#50B432', '#ED561B', '#DDDF00', '#24CBE5', '#64E572', '#FF9655', '#FFF263', '#6AF9C4'], |
27 | colors: ['#058DC7', '#50B432', '#ED561B', '#DDDF00', '#24CBE5', '#64E572', '#FF9655', '#FFF263', '#6AF9C4'], |
|
28 | chart: { |
28 | chart: { |
|
29 | backgroundColor: { |
29 | backgroundColor: { |
|
30 | linearGradient: { |
30 | linearGradient: { |
|
31 | x1: 0, |
31 | x1: 0, |
|
32 | y1: 0, |
32 | y1: 0, |
|
33 | x2: 1, |
33 | x2: 1, |
|
34 | y2: 1 |
34 | y2: 1 |
|
35 | }, |
35 | }, |
|
36 | stops: [ |
36 | stops: [ |
|
37 | [0, 'rgb(255, 255, 255)'], |
37 | [0, 'rgb(255, 255, 255)'], |
|
38 | [1, 'rgb(240, 240, 255)'] |
38 | [1, 'rgb(240, 240, 255)'] |
|
39 | ] |
39 | ] |
|
40 | }, |
40 | }, |
|
41 | borderWidth: 2, |
41 | borderWidth: 2, |
|
42 | plotBackgroundColor: 'rgba(255, 255, 255, .9)', |
42 | plotBackgroundColor: 'rgba(255, 255, 255, .9)', |
|
43 | plotShadow: true, |
43 | plotShadow: true, |
|
44 | plotBorderWidth: 1 |
44 | plotBorderWidth: 1 |
|
45 | }, |
45 | }, |
|
46 | title: { |
46 | title: { |
|
47 | style: { |
47 | style: { |
|
48 | color: '#000', |
48 | color: '#000', |
|
49 | font: 'bold 16px "Trebuchet MS", Verdana, sans-serif' |
49 | font: 'bold 16px "Trebuchet MS", Verdana, sans-serif' |
|
50 | } |
50 | } |
|
51 | }, |
51 | }, |
|
52 | subtitle: { |
52 | subtitle: { |
|
53 | style: { |
53 | style: { |
|
54 | color: '#666666', |
54 | color: '#666666', |
|
55 | font: 'bold 12px "Trebuchet MS", Verdana, sans-serif' |
55 | font: 'bold 12px "Trebuchet MS", Verdana, sans-serif' |
|
56 | } |
56 | } |
|
57 | }, |
57 | }, |
|
58 | xAxis: { |
58 | xAxis: { |
|
59 | gridLineWidth: 1, |
59 | gridLineWidth: 1, |
|
60 | lineColor: '#000', |
60 | lineColor: '#000', |
|
61 | tickColor: '#000', |
61 | tickColor: '#000', |
|
62 | labels: { |
62 | labels: { |
|
63 | style: { |
63 | style: { |
|
64 | color: '#000', |
64 | color: '#000', |
|
65 | font: '11px Trebuchet MS, Verdana, sans-serif' |
65 | font: '11px Trebuchet MS, Verdana, sans-serif' |
|
66 | } |
66 | } |
|
67 | }, |
67 | }, |
|
68 | title: { |
68 | title: { |
|
69 | style: { |
69 | style: { |
|
70 | color: '#333', |
70 | color: '#333', |
|
71 | fontWeight: 'bold', |
71 | fontWeight: 'bold', |
|
72 | fontSize: '12px', |
72 | fontSize: '12px', |
|
73 | fontFamily: 'Trebuchet MS, Verdana, sans-serif' |
73 | fontFamily: 'Trebuchet MS, Verdana, sans-serif' |
|
74 | |
74 | |
|
75 | } |
75 | } |
|
76 | } |
76 | } |
|
77 | }, |
77 | }, |
|
78 | yAxis: { |
78 | yAxis: { |
|
79 | minorTickInterval: 'auto', |
79 | minorTickInterval: 'auto', |
|
80 | lineColor: '#000', |
80 | lineColor: '#000', |
|
81 | lineWidth: 1, |
81 | lineWidth: 1, |
|
82 | tickWidth: 1, |
82 | tickWidth: 1, |
|
83 | tickColor: '#000', |
83 | tickColor: '#000', |
|
84 | labels: { |
84 | labels: { |
|
85 | style: { |
85 | style: { |
|
86 | color: '#000', |
86 | color: '#000', |
|
87 | font: '11px Trebuchet MS, Verdana, sans-serif' |
87 | font: '11px Trebuchet MS, Verdana, sans-serif' |
|
88 | } |
88 | } |
|
89 | }, |
89 | }, |
|
90 | title: { |
90 | title: { |
|
91 | style: { |
91 | style: { |
|
92 | color: '#333', |
92 | color: '#333', |
|
93 | fontWeight: 'bold', |
93 | fontWeight: 'bold', |
|
94 | fontSize: '12px', |
94 | fontSize: '12px', |
|
95 | fontFamily: 'Trebuchet MS, Verdana, sans-serif' |
95 | fontFamily: 'Trebuchet MS, Verdana, sans-serif' |
|
96 | } |
96 | } |
|
97 | } |
97 | } |
|
98 | }, |
98 | }, |
|
99 | legend: { |
99 | legend: { |
|
100 | itemStyle: { |
100 | itemStyle: { |
|
101 | font: '9pt Trebuchet MS, Verdana, sans-serif', |
101 | font: '9pt Trebuchet MS, Verdana, sans-serif', |
|
102 | color: 'black' |
102 | color: 'black' |
|
103 | |
103 | |
|
104 | }, |
104 | }, |
|
105 | itemHoverStyle: { |
105 | itemHoverStyle: { |
|
106 | color: '#039' |
106 | color: '#039' |
|
107 | }, |
107 | }, |
|
108 | itemHiddenStyle: { |
108 | itemHiddenStyle: { |
|
109 | color: 'gray' |
109 | color: 'gray' |
|
110 | } |
110 | } |
|
111 | }, |
111 | }, |
|
112 | labels: { |
112 | labels: { |
|
113 | style: { |
113 | style: { |
|
114 | color: '#99b' |
114 | color: '#99b' |
|
115 | } |
115 | } |
|
116 | }, |
116 | }, |
|
117 | |
117 | |
|
118 | navigation: { |
118 | navigation: { |
|
119 | buttonOptions: { |
119 | buttonOptions: { |
|
120 | theme: { |
120 | theme: { |
|
121 | stroke: '#CCCCCC' |
121 | stroke: '#CCCCCC' |
|
122 | } |
122 | } |
|
123 | } |
123 | } |
|
124 | } |
124 | } |
|
125 | }; |
125 | }; |
|
126 | |
126 | |
|
127 | // Apply the theme |
127 | // Apply the theme |
|
128 | Highcharts.setOptions(Highcharts.theme); |
128 | Highcharts.setOptions(Highcharts.theme); |
|
129 | |
129 | |
|
130 | }(Highcharts)); |
130 | }(Highcharts)); |
|
131 | })); |
131 | })); |
|
132 | |
132 | |