gray.src.js 9.6 KB

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