dark-green.src.js 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284
  1. /**
  2. * @license Highcharts JS v9.1.1 (2021-06-04)
  3. *
  4. * (c) 2009-2021 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-green', ['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/DarkGreen.js', [_modules['Core/Globals.js'], _modules['Core/DefaultOptions.js']], function (Highcharts, D) {
  30. /* *
  31. *
  32. * (c) 2010-2021 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 = D.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, 96, 48)'],
  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. plotOptions: {
  118. line: {
  119. dataLabels: {
  120. color: '#CCC'
  121. },
  122. marker: {
  123. lineColor: '#333'
  124. }
  125. },
  126. spline: {
  127. marker: {
  128. lineColor: '#333'
  129. }
  130. },
  131. scatter: {
  132. marker: {
  133. lineColor: '#333'
  134. }
  135. },
  136. candlestick: {
  137. lineColor: 'white'
  138. }
  139. },
  140. legend: {
  141. backgroundColor: 'rgba(0, 0, 0, 0.5)',
  142. itemStyle: {
  143. font: '9pt Trebuchet MS, Verdana, sans-serif',
  144. color: '#A0A0A0'
  145. },
  146. itemHoverStyle: {
  147. color: '#FFF'
  148. },
  149. itemHiddenStyle: {
  150. color: '#444'
  151. },
  152. title: {
  153. style: {
  154. color: '#C0C0C0'
  155. }
  156. }
  157. },
  158. credits: {
  159. style: {
  160. color: '#666'
  161. }
  162. },
  163. labels: {
  164. style: {
  165. color: '#CCC'
  166. }
  167. },
  168. navigation: {
  169. buttonOptions: {
  170. symbolStroke: '#DDDDDD',
  171. theme: {
  172. fill: {
  173. linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 },
  174. stops: [
  175. [0.4, '#606060'],
  176. [0.6, '#333333']
  177. ]
  178. },
  179. stroke: '#000000'
  180. }
  181. }
  182. },
  183. // scroll charts
  184. rangeSelector: {
  185. buttonTheme: {
  186. fill: {
  187. linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 },
  188. stops: [
  189. [0.4, '#888'],
  190. [0.6, '#555']
  191. ]
  192. },
  193. stroke: '#000000',
  194. style: {
  195. color: '#CCC',
  196. fontWeight: 'bold'
  197. },
  198. states: {
  199. hover: {
  200. fill: {
  201. linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 },
  202. stops: [
  203. [0.4, '#BBB'],
  204. [0.6, '#888']
  205. ]
  206. },
  207. stroke: '#000000',
  208. style: {
  209. color: 'white'
  210. }
  211. },
  212. select: {
  213. fill: {
  214. linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 },
  215. stops: [
  216. [0.1, '#000'],
  217. [0.3, '#333']
  218. ]
  219. },
  220. stroke: '#000000',
  221. style: {
  222. color: 'yellow'
  223. }
  224. }
  225. }
  226. },
  227. inputStyle: {
  228. backgroundColor: '#333',
  229. color: 'silver'
  230. },
  231. labelStyle: {
  232. color: 'silver'
  233. }
  234. },
  235. navigator: {
  236. handles: {
  237. backgroundColor: '#666',
  238. borderColor: '#AAA'
  239. },
  240. outlineColor: '#CCC',
  241. maskFill: 'rgba(16, 16, 16, 0.5)',
  242. series: {
  243. color: '#7798BF',
  244. lineColor: '#A6C7ED'
  245. }
  246. },
  247. scrollbar: {
  248. barBackgroundColor: {
  249. linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 },
  250. stops: [
  251. [0.4, '#888'],
  252. [0.6, '#555']
  253. ]
  254. },
  255. barBorderColor: '#CCC',
  256. buttonArrowColor: '#CCC',
  257. buttonBackgroundColor: {
  258. linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 },
  259. stops: [
  260. [0.4, '#888'],
  261. [0.6, '#555']
  262. ]
  263. },
  264. buttonBorderColor: '#CCC',
  265. rifleColor: '#FFF',
  266. trackBackgroundColor: {
  267. linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 },
  268. stops: [
  269. [0, '#000'],
  270. [1, '#333']
  271. ]
  272. },
  273. trackBorderColor: '#666'
  274. }
  275. };
  276. // Apply the theme
  277. setOptions(Highcharts.theme);
  278. });
  279. _registerModule(_modules, 'masters/themes/dark-green.src.js', [], function () {
  280. });
  281. }));