dark-blue.js 9.7 KB

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