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-light theme for Highcharts JS |
22 | * Grid-light 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=Dosis:400,600', |
29 | href: 'https://fonts.googleapis.com/css?family=Dosis:400,600', |
|
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: ['#7cb5ec', '#f7a35c', '#90ee7e', '#7798BF', '#aaeeee', '#ff0066', '#eeaaee', |
35 | colors: ['#7cb5ec', '#f7a35c', '#90ee7e', '#7798BF', '#aaeeee', '#ff0066', '#eeaaee', |
|
36 | '#55BF3B', '#DF5353', '#7798BF', '#aaeeee' |
36 | '#55BF3B', '#DF5353', '#7798BF', '#aaeeee' |
|
37 | ], |
37 | ], |
|
38 | chart: { |
38 | chart: { |
|
39 | backgroundColor: null, |
39 | backgroundColor: null, |
|
40 | style: { |
40 | style: { |
|
41 | fontFamily: 'Dosis, sans-serif' |
41 | fontFamily: 'Dosis, sans-serif' |
|
42 | } |
42 | } |
|
43 | }, |
43 | }, |
|
44 | title: { |
44 | title: { |
|
45 | style: { |
45 | style: { |
|
46 | fontSize: '16px', |
46 | fontSize: '16px', |
|
47 | fontWeight: 'bold', |
47 | fontWeight: 'bold', |
|
48 | textTransform: 'uppercase' |
48 | textTransform: 'uppercase' |
|
49 | } |
49 | } |
|
50 | }, |
50 | }, |
|
51 | tooltip: { |
51 | tooltip: { |
|
52 | borderWidth: 0, |
52 | borderWidth: 0, |
|
53 | backgroundColor: 'rgba(219,219,216,0.8)', |
53 | backgroundColor: 'rgba(219,219,216,0.8)', |
|
54 | shadow: false |
54 | shadow: false |
|
55 | }, |
55 | }, |
|
56 | legend: { |
56 | legend: { |
|
57 | itemStyle: { |
57 | itemStyle: { |
|
58 | fontWeight: 'bold', |
58 | fontWeight: 'bold', |
|
59 | fontSize: '13px' |
59 | fontSize: '13px' |
|
60 | } |
60 | } |
|
61 | }, |
61 | }, |
|
62 | xAxis: { |
62 | xAxis: { |
|
63 | gridLineWidth: 1, |
63 | gridLineWidth: 1, |
|
64 | labels: { |
64 | labels: { |
|
65 | style: { |
65 | style: { |
|
66 | fontSize: '12px' |
66 | fontSize: '12px' |
|
67 | } |
67 | } |
|
68 | } |
68 | } |
|
69 | }, |
69 | }, |
|
70 | yAxis: { |
70 | yAxis: { |
|
71 | minorTickInterval: 'auto', |
71 | minorTickInterval: 'auto', |
|
72 | title: { |
72 | title: { |
|
73 | style: { |
73 | style: { |
|
74 | textTransform: 'uppercase' |
74 | textTransform: 'uppercase' |
|
75 | } |
75 | } |
|
76 | }, |
76 | }, |
|
77 | labels: { |
77 | labels: { |
|
78 | style: { |
78 | style: { |
|
79 | fontSize: '12px' |
79 | fontSize: '12px' |
|
80 | } |
80 | } |
|
81 | } |
81 | } |
|
82 | }, |
82 | }, |
|
83 | plotOptions: { |
83 | plotOptions: { |
|
84 | candlestick: { |
84 | candlestick: { |
|
85 | lineColor: '#404048' |
85 | lineColor: '#404048' |
|
86 | } |
86 | } |
|
87 | }, |
87 | }, |
|
88 | |
88 | |
|
89 | |
89 | |
|
90 | // General |
90 | // General |
|
91 | background2: '#F0F0EA' |
91 | background2: '#F0F0EA' |
|
92 | |
92 | |
|
93 | }; |
93 | }; |
|
94 | |
94 | |
|
95 | // Apply the theme |
95 | // Apply the theme |
|
96 | Highcharts.setOptions(Highcharts.theme); |
96 | Highcharts.setOptions(Highcharts.theme); |
|
97 | |
97 | |
|
98 | }(Highcharts)); |
98 | }(Highcharts)); |
|
99 | })); |
99 | })); |
|
100 | |
100 | |