gray.js 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327
  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. * Gray theme for Highcharts JS
  22. * @author Torstein Honsi
  23. */
  24. 'use strict';
  25. Highcharts.theme = {
  26. colors: ['#DDDF0D', '#7798BF', '#55BF3B', '#DF5353', '#aaeeee', '#ff0066', '#eeaaee',
  27. '#55BF3B', '#DF5353', '#7798BF', '#aaeeee'
  28. ],
  29. chart: {
  30. backgroundColor: {
  31. linearGradient: {
  32. x1: 0,
  33. y1: 0,
  34. x2: 0,
  35. y2: 1
  36. },
  37. stops: [
  38. [0, 'rgb(96, 96, 96)'],
  39. [1, 'rgb(16, 16, 16)']
  40. ]
  41. },
  42. borderWidth: 0,
  43. borderRadius: 0,
  44. plotBackgroundColor: null,
  45. plotShadow: false,
  46. plotBorderWidth: 0
  47. },
  48. title: {
  49. style: {
  50. color: '#FFF',
  51. font: '16px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif'
  52. }
  53. },
  54. subtitle: {
  55. style: {
  56. color: '#DDD',
  57. font: '12px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif'
  58. }
  59. },
  60. xAxis: {
  61. gridLineWidth: 0,
  62. lineColor: '#999',
  63. tickColor: '#999',
  64. labels: {
  65. style: {
  66. color: '#999',
  67. fontWeight: 'bold'
  68. }
  69. },
  70. title: {
  71. style: {
  72. color: '#AAA',
  73. font: 'bold 12px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif'
  74. }
  75. }
  76. },
  77. yAxis: {
  78. alternateGridColor: null,
  79. minorTickInterval: null,
  80. gridLineColor: 'rgba(255, 255, 255, .1)',
  81. minorGridLineColor: 'rgba(255,255,255,0.07)',
  82. lineWidth: 0,
  83. tickWidth: 0,
  84. labels: {
  85. style: {
  86. color: '#999',
  87. fontWeight: 'bold'
  88. }
  89. },
  90. title: {
  91. style: {
  92. color: '#AAA',
  93. font: 'bold 12px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif'
  94. }
  95. }
  96. },
  97. legend: {
  98. itemStyle: {
  99. color: '#CCC'
  100. },
  101. itemHoverStyle: {
  102. color: '#FFF'
  103. },
  104. itemHiddenStyle: {
  105. color: '#333'
  106. }
  107. },
  108. labels: {
  109. style: {
  110. color: '#CCC'
  111. }
  112. },
  113. tooltip: {
  114. backgroundColor: {
  115. linearGradient: {
  116. x1: 0,
  117. y1: 0,
  118. x2: 0,
  119. y2: 1
  120. },
  121. stops: [
  122. [0, 'rgba(96, 96, 96, .8)'],
  123. [1, 'rgba(16, 16, 16, .8)']
  124. ]
  125. },
  126. borderWidth: 0,
  127. style: {
  128. color: '#FFF'
  129. }
  130. },
  131. plotOptions: {
  132. series: {
  133. nullColor: '#444444'
  134. },
  135. line: {
  136. dataLabels: {
  137. color: '#CCC'
  138. },
  139. marker: {
  140. lineColor: '#333'
  141. }
  142. },
  143. spline: {
  144. marker: {
  145. lineColor: '#333'
  146. }
  147. },
  148. scatter: {
  149. marker: {
  150. lineColor: '#333'
  151. }
  152. },
  153. candlestick: {
  154. lineColor: 'white'
  155. }
  156. },
  157. toolbar: {
  158. itemStyle: {
  159. color: '#CCC'
  160. }
  161. },
  162. navigation: {
  163. buttonOptions: {
  164. symbolStroke: '#DDDDDD',
  165. hoverSymbolStroke: '#FFFFFF',
  166. theme: {
  167. fill: {
  168. linearGradient: {
  169. x1: 0,
  170. y1: 0,
  171. x2: 0,
  172. y2: 1
  173. },
  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: {
  188. x1: 0,
  189. y1: 0,
  190. x2: 0,
  191. y2: 1
  192. },
  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: {
  207. x1: 0,
  208. y1: 0,
  209. x2: 0,
  210. y2: 1
  211. },
  212. stops: [
  213. [0.4, '#BBB'],
  214. [0.6, '#888']
  215. ]
  216. },
  217. stroke: '#000000',
  218. style: {
  219. color: 'white'
  220. }
  221. },
  222. select: {
  223. fill: {
  224. linearGradient: {
  225. x1: 0,
  226. y1: 0,
  227. x2: 0,
  228. y2: 1
  229. },
  230. stops: [
  231. [0.1, '#000'],
  232. [0.3, '#333']
  233. ]
  234. },
  235. stroke: '#000000',
  236. style: {
  237. color: 'yellow'
  238. }
  239. }
  240. }
  241. },
  242. inputStyle: {
  243. backgroundColor: '#333',
  244. color: 'silver'
  245. },
  246. labelStyle: {
  247. color: 'silver'
  248. }
  249. },
  250. navigator: {
  251. handles: {
  252. backgroundColor: '#666',
  253. borderColor: '#AAA'
  254. },
  255. outlineColor: '#CCC',
  256. maskFill: 'rgba(16, 16, 16, 0.5)',
  257. series: {
  258. color: '#7798BF',
  259. lineColor: '#A6C7ED'
  260. }
  261. },
  262. scrollbar: {
  263. barBackgroundColor: {
  264. linearGradient: {
  265. x1: 0,
  266. y1: 0,
  267. x2: 0,
  268. y2: 1
  269. },
  270. stops: [
  271. [0.4, '#888'],
  272. [0.6, '#555']
  273. ]
  274. },
  275. barBorderColor: '#CCC',
  276. buttonArrowColor: '#CCC',
  277. buttonBackgroundColor: {
  278. linearGradient: {
  279. x1: 0,
  280. y1: 0,
  281. x2: 0,
  282. y2: 1
  283. },
  284. stops: [
  285. [0.4, '#888'],
  286. [0.6, '#555']
  287. ]
  288. },
  289. buttonBorderColor: '#CCC',
  290. rifleColor: '#FFF',
  291. trackBackgroundColor: {
  292. linearGradient: {
  293. x1: 0,
  294. y1: 0,
  295. x2: 0,
  296. y2: 1
  297. },
  298. stops: [
  299. [0, '#000'],
  300. [1, '#333']
  301. ]
  302. },
  303. trackBorderColor: '#666'
  304. },
  305. // special colors for some of the demo examples
  306. legendBackgroundColor: 'rgba(48, 48, 48, 0.8)',
  307. background2: 'rgb(70, 70, 70)',
  308. dataLabelsColor: '#444',
  309. textColor: '#E0E0E0',
  310. maskColor: 'rgba(255,255,255,0.3)'
  311. };
  312. // Apply the theme
  313. Highcharts.setOptions(Highcharts.theme);
  314. }(Highcharts));
  315. }));