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