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 | * Skies theme for Highcharts JS |
22 | * Skies theme for Highcharts JS |
|
23 | * @author Torstein Honsi |
23 | * @author Torstein Honsi |
|
24 | */ |
24 | */ |
|
25 | |
25 | |
|
26 | Highcharts.theme = { |
26 | Highcharts.theme = { |
|
27 | colors: ['#514F78', '#42A07B', '#9B5E4A', '#72727F', '#1F949A', '#82914E', '#86777F', '#42A07B'], |
27 | colors: ['#514F78', '#42A07B', '#9B5E4A', '#72727F', '#1F949A', '#82914E', '#86777F', '#42A07B'], |
|
28 | chart: { |
28 | chart: { |
|
29 | className: 'skies', |
29 | className: 'skies', |
|
30 | borderWidth: 0, |
30 | borderWidth: 0, |
|
31 | plotShadow: true, |
31 | plotShadow: true, |
|
32 | plotBackgroundImage: 'http://www.highcharts.com/demo/gfx/skies.jpg', |
32 | plotBackgroundImage: 'http://www.highcharts.com/demo/gfx/skies.jpg', |
|
33 | plotBackgroundColor: { |
33 | plotBackgroundColor: { |
|
34 | linearGradient: [0, 0, 250, 500], |
34 | linearGradient: [0, 0, 250, 500], |
|
35 | stops: [ |
35 | stops: [ |
|
36 | [0, 'rgba(255, 255, 255, 1)'], |
36 | [0, 'rgba(255, 255, 255, 1)'], |
|
37 | [1, 'rgba(255, 255, 255, 0)'] |
37 | [1, 'rgba(255, 255, 255, 0)'] |
|
38 | ] |
38 | ] |
|
39 | }, |
39 | }, |
|
40 | plotBorderWidth: 1 |
40 | plotBorderWidth: 1 |
|
41 | }, |
41 | }, |
|
42 | title: { |
42 | title: { |
|
43 | style: { |
43 | style: { |
|
44 | color: '#3E576F', |
44 | color: '#3E576F', |
|
45 | font: '16px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif' |
45 | font: '16px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif' |
|
46 | } |
46 | } |
|
47 | }, |
47 | }, |
|
48 | subtitle: { |
48 | subtitle: { |
|
49 | style: { |
49 | style: { |
|
50 | color: '#6D869F', |
50 | color: '#6D869F', |
|
51 | font: '12px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif' |
51 | font: '12px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif' |
|
52 | } |
52 | } |
|
53 | }, |
53 | }, |
|
54 | xAxis: { |
54 | xAxis: { |
|
55 | gridLineWidth: 0, |
55 | gridLineWidth: 0, |
|
56 | lineColor: '#C0D0E0', |
56 | lineColor: '#C0D0E0', |
|
57 | tickColor: '#C0D0E0', |
57 | tickColor: '#C0D0E0', |
|
58 | labels: { |
58 | labels: { |
|
59 | style: { |
59 | style: { |
|
60 | color: '#666', |
60 | color: '#666', |
|
61 | fontWeight: 'bold' |
61 | fontWeight: 'bold' |
|
62 | } |
62 | } |
|
63 | }, |
63 | }, |
|
64 | title: { |
64 | title: { |
|
65 | style: { |
65 | style: { |
|
66 | color: '#666', |
66 | color: '#666', |
|
67 | font: '12px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif' |
67 | font: '12px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif' |
|
68 | } |
68 | } |
|
69 | } |
69 | } |
|
70 | }, |
70 | }, |
|
71 | yAxis: { |
71 | yAxis: { |
|
72 | alternateGridColor: 'rgba(255, 255, 255, .5)', |
72 | alternateGridColor: 'rgba(255, 255, 255, .5)', |
|
73 | lineColor: '#C0D0E0', |
73 | lineColor: '#C0D0E0', |
|
74 | tickColor: '#C0D0E0', |
74 | tickColor: '#C0D0E0', |
|
75 | tickWidth: 1, |
75 | tickWidth: 1, |
|
76 | labels: { |
76 | labels: { |
|
77 | style: { |
77 | style: { |
|
78 | color: '#666', |
78 | color: '#666', |
|
79 | fontWeight: 'bold' |
79 | fontWeight: 'bold' |
|
80 | } |
80 | } |
|
81 | }, |
81 | }, |
|
82 | title: { |
82 | title: { |
|
83 | style: { |
83 | style: { |
|
84 | color: '#666', |
84 | color: '#666', |
|
85 | font: '12px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif' |
85 | font: '12px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif' |
|
86 | } |
86 | } |
|
87 | } |
87 | } |
|
88 | }, |
88 | }, |
|
89 | legend: { |
89 | legend: { |
|
90 | itemStyle: { |
90 | itemStyle: { |
|
91 | font: '9pt Trebuchet MS, Verdana, sans-serif', |
91 | font: '9pt Trebuchet MS, Verdana, sans-serif', |
|
92 | color: '#3E576F' |
92 | color: '#3E576F' |
|
93 | }, |
93 | }, |
|
94 | itemHoverStyle: { |
94 | itemHoverStyle: { |
|
95 | color: 'black' |
95 | color: 'black' |
|
96 | }, |
96 | }, |
|
97 | itemHiddenStyle: { |
97 | itemHiddenStyle: { |
|
98 | color: 'silver' |
98 | color: 'silver' |
|
99 | } |
99 | } |
|
100 | }, |
100 | }, |
|
101 | labels: { |
101 | labels: { |
|
102 | style: { |
102 | style: { |
|
103 | color: '#3E576F' |
103 | color: '#3E576F' |
|
104 | } |
104 | } |
|
105 | } |
105 | } |
|
106 | }; |
106 | }; |
|
107 | |
107 | |
|
108 | // Apply the theme |
108 | // Apply the theme |
|
109 | Highcharts.setOptions(Highcharts.theme); |
109 | Highcharts.setOptions(Highcharts.theme); |
|
110 | |
110 | |
|
111 | }(Highcharts)); |
111 | }(Highcharts)); |
|
112 | })); |
112 | })); |
|
113 | |
113 | |