1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
| /* *
| *
| * (c) 2010-2019 Torstein Honsi
| *
| * License: www.highcharts.com/license
| *
| * Grid-light theme for Highcharts JS
| *
| * */
|
| 'use strict';
|
| /* global document */
|
| var _Globals = require('../parts/Globals.js');
|
| var _Globals2 = _interopRequireDefault(_Globals);
|
| function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
| // Load the fonts
| _Globals2.default.createElement('link', {
| href: 'https://fonts.googleapis.com/css?family=Dosis:400,600',
| rel: 'stylesheet',
| type: 'text/css'
| }, null, document.getElementsByTagName('head')[0]);
|
| _Globals2.default.theme = {
| colors: ['#7cb5ec', '#f7a35c', '#90ee7e', '#7798BF', '#aaeeee', '#ff0066', '#eeaaee', '#55BF3B', '#DF5353', '#7798BF', '#aaeeee'],
| chart: {
| backgroundColor: null,
| style: {
| fontFamily: 'Dosis, sans-serif'
| }
| },
| title: {
| style: {
| fontSize: '16px',
| fontWeight: 'bold',
| textTransform: 'uppercase'
| }
| },
| tooltip: {
| borderWidth: 0,
| backgroundColor: 'rgba(219,219,216,0.8)',
| shadow: false
| },
| legend: {
| backgroundColor: '#F0F0EA',
| itemStyle: {
| fontWeight: 'bold',
| fontSize: '13px'
| }
| },
| xAxis: {
| gridLineWidth: 1,
| labels: {
| style: {
| fontSize: '12px'
| }
| }
| },
| yAxis: {
| minorTickInterval: 'auto',
| title: {
| style: {
| textTransform: 'uppercase'
| }
| },
| labels: {
| style: {
| fontSize: '12px'
| }
| }
| },
| plotOptions: {
| candlestick: {
| lineColor: '#404048'
| }
| }
|
| };
|
| // Apply the theme
| _Globals2.default.setOptions(_Globals2.default.theme);
|
|