dark-blue.src.js 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285
  1. /**
  2. * @license Highcharts JS v7.0.2 (2019-01-17)
  3. *
  4. * (c) 2009-2019 Torstein Honsi
  5. *
  6. * License: www.highcharts.com/license
  7. */
  8. 'use strict';
  9. (function (factory) {
  10. if (typeof module === 'object' && module.exports) {
  11. factory['default'] = factory;
  12. module.exports = factory;
  13. } else if (typeof define === 'function' && define.amd) {
  14. define(function () {
  15. return factory;
  16. });
  17. } else {
  18. factory(typeof Highcharts !== 'undefined' ? Highcharts : undefined);
  19. }
  20. }(function (Highcharts) {
  21. (function (Highcharts) {
  22. /**
  23. * (c) 2010-2019 Torstein Honsi
  24. *
  25. * License: www.highcharts.com/license
  26. *
  27. * Dark blue theme for Highcharts JS
  28. * @author Torstein Honsi
  29. */
  30. Highcharts.theme = {
  31. colors: ['#DDDF0D', '#55BF3B', '#DF5353', '#7798BF', '#aaeeee',
  32. '#ff0066', '#eeaaee', '#55BF3B', '#DF5353', '#7798BF', '#aaeeee'],
  33. chart: {
  34. backgroundColor: {
  35. linearGradient: { x1: 0, y1: 0, x2: 1, y2: 1 },
  36. stops: [
  37. [0, 'rgb(48, 48, 96)'],
  38. [1, 'rgb(0, 0, 0)']
  39. ]
  40. },
  41. borderColor: '#000000',
  42. borderWidth: 2,
  43. className: 'dark-container',
  44. plotBackgroundColor: 'rgba(255, 255, 255, .1)',
  45. plotBorderColor: '#CCCCCC',
  46. plotBorderWidth: 1
  47. },
  48. title: {
  49. style: {
  50. color: '#C0C0C0',
  51. font: 'bold 16px "Trebuchet MS", Verdana, sans-serif'
  52. }
  53. },
  54. subtitle: {
  55. style: {
  56. color: '#666666',
  57. font: 'bold 12px "Trebuchet MS", Verdana, sans-serif'
  58. }
  59. },
  60. xAxis: {
  61. gridLineColor: '#333333',
  62. gridLineWidth: 1,
  63. labels: {
  64. style: {
  65. color: '#A0A0A0'
  66. }
  67. },
  68. lineColor: '#A0A0A0',
  69. tickColor: '#A0A0A0',
  70. title: {
  71. style: {
  72. color: '#CCC',
  73. fontWeight: 'bold',
  74. fontSize: '12px',
  75. fontFamily: 'Trebuchet MS, Verdana, sans-serif'
  76. }
  77. }
  78. },
  79. yAxis: {
  80. gridLineColor: '#333333',
  81. labels: {
  82. style: {
  83. color: '#A0A0A0'
  84. }
  85. },
  86. lineColor: '#A0A0A0',
  87. minorTickInterval: null,
  88. tickColor: '#A0A0A0',
  89. tickWidth: 1,
  90. title: {
  91. style: {
  92. color: '#CCC',
  93. fontWeight: 'bold',
  94. fontSize: '12px',
  95. fontFamily: 'Trebuchet MS, Verdana, sans-serif'
  96. }
  97. }
  98. },
  99. tooltip: {
  100. backgroundColor: 'rgba(0, 0, 0, 0.75)',
  101. style: {
  102. color: '#F0F0F0'
  103. }
  104. },
  105. toolbar: {
  106. itemStyle: {
  107. color: 'silver'
  108. }
  109. },
  110. plotOptions: {
  111. line: {
  112. dataLabels: {
  113. color: '#CCC'
  114. },
  115. marker: {
  116. lineColor: '#333'
  117. }
  118. },
  119. spline: {
  120. marker: {
  121. lineColor: '#333'
  122. }
  123. },
  124. scatter: {
  125. marker: {
  126. lineColor: '#333'
  127. }
  128. },
  129. candlestick: {
  130. lineColor: 'white'
  131. }
  132. },
  133. legend: {
  134. itemStyle: {
  135. font: '9pt Trebuchet MS, Verdana, sans-serif',
  136. color: '#A0A0A0'
  137. },
  138. itemHoverStyle: {
  139. color: '#FFF'
  140. },
  141. itemHiddenStyle: {
  142. color: '#444'
  143. }
  144. },
  145. credits: {
  146. style: {
  147. color: '#666'
  148. }
  149. },
  150. labels: {
  151. style: {
  152. color: '#CCC'
  153. }
  154. },
  155. navigation: {
  156. buttonOptions: {
  157. symbolStroke: '#DDDDDD',
  158. hoverSymbolStroke: '#FFFFFF',
  159. theme: {
  160. fill: {
  161. linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 },
  162. stops: [
  163. [0.4, '#606060'],
  164. [0.6, '#333333']
  165. ]
  166. },
  167. stroke: '#000000'
  168. }
  169. }
  170. },
  171. // scroll charts
  172. rangeSelector: {
  173. buttonTheme: {
  174. fill: {
  175. linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 },
  176. stops: [
  177. [0.4, '#888'],
  178. [0.6, '#555']
  179. ]
  180. },
  181. stroke: '#000000',
  182. style: {
  183. color: '#CCC',
  184. fontWeight: 'bold'
  185. },
  186. states: {
  187. hover: {
  188. fill: {
  189. linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 },
  190. stops: [
  191. [0.4, '#BBB'],
  192. [0.6, '#888']
  193. ]
  194. },
  195. stroke: '#000000',
  196. style: {
  197. color: 'white'
  198. }
  199. },
  200. select: {
  201. fill: {
  202. linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 },
  203. stops: [
  204. [0.1, '#000'],
  205. [0.3, '#333']
  206. ]
  207. },
  208. stroke: '#000000',
  209. style: {
  210. color: 'yellow'
  211. }
  212. }
  213. }
  214. },
  215. inputStyle: {
  216. backgroundColor: '#333',
  217. color: 'silver'
  218. },
  219. labelStyle: {
  220. color: 'silver'
  221. }
  222. },
  223. navigator: {
  224. handles: {
  225. backgroundColor: '#666',
  226. borderColor: '#AAA'
  227. },
  228. outlineColor: '#CCC',
  229. maskFill: 'rgba(16, 16, 16, 0.5)',
  230. series: {
  231. color: '#7798BF',
  232. lineColor: '#A6C7ED'
  233. }
  234. },
  235. scrollbar: {
  236. barBackgroundColor: {
  237. linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 },
  238. stops: [
  239. [0.4, '#888'],
  240. [0.6, '#555']
  241. ]
  242. },
  243. barBorderColor: '#CCC',
  244. buttonArrowColor: '#CCC',
  245. buttonBackgroundColor: {
  246. linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 },
  247. stops: [
  248. [0.4, '#888'],
  249. [0.6, '#555']
  250. ]
  251. },
  252. buttonBorderColor: '#CCC',
  253. rifleColor: '#FFF',
  254. trackBackgroundColor: {
  255. linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 },
  256. stops: [
  257. [0, '#000'],
  258. [1, '#333']
  259. ]
  260. },
  261. trackBorderColor: '#666'
  262. },
  263. // special colors for some of the
  264. legendBackgroundColor: 'rgba(0, 0, 0, 0.5)',
  265. background2: 'rgb(35, 35, 70)',
  266. dataLabelsColor: '#444',
  267. textColor: '#C0C0C0',
  268. maskColor: 'rgba(255,255,255,0.3)'
  269. };
  270. // Apply the theme
  271. Highcharts.setOptions(Highcharts.theme);
  272. }(Highcharts));
  273. return (function () {
  274. }());
  275. }));