dark-blue.src.js 9.3 KB

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