dark-blue.src.js 9.2 KB

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