grid.src.js 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  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/grid', ['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/grid.js', [_modules['parts/Globals.js']], function (Highcharts) {
  30. /* *
  31. *
  32. * (c) 2010-2019 Torstein Honsi
  33. *
  34. * License: www.highcharts.com/license
  35. *
  36. * Grid theme for Highcharts JS
  37. *
  38. * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
  39. *
  40. * */
  41. Highcharts.theme = {
  42. colors: ['#058DC7', '#50B432', '#ED561B', '#DDDF00', '#24CBE5', '#64E572',
  43. '#FF9655', '#FFF263', '#6AF9C4'],
  44. chart: {
  45. backgroundColor: {
  46. linearGradient: { x1: 0, y1: 0, x2: 1, y2: 1 },
  47. stops: [
  48. [0, 'rgb(255, 255, 255)'],
  49. [1, 'rgb(240, 240, 255)']
  50. ]
  51. },
  52. borderWidth: 2,
  53. plotBackgroundColor: 'rgba(255, 255, 255, .9)',
  54. plotShadow: true,
  55. plotBorderWidth: 1
  56. },
  57. title: {
  58. style: {
  59. color: '#000',
  60. font: 'bold 16px "Trebuchet MS", Verdana, sans-serif'
  61. }
  62. },
  63. subtitle: {
  64. style: {
  65. color: '#666666',
  66. font: 'bold 12px "Trebuchet MS", Verdana, sans-serif'
  67. }
  68. },
  69. xAxis: {
  70. gridLineWidth: 1,
  71. lineColor: '#000',
  72. tickColor: '#000',
  73. labels: {
  74. style: {
  75. color: '#000',
  76. font: '11px Trebuchet MS, Verdana, sans-serif'
  77. }
  78. },
  79. title: {
  80. style: {
  81. color: '#333',
  82. fontWeight: 'bold',
  83. fontSize: '12px',
  84. fontFamily: 'Trebuchet MS, Verdana, sans-serif'
  85. }
  86. }
  87. },
  88. yAxis: {
  89. minorTickInterval: 'auto',
  90. lineColor: '#000',
  91. lineWidth: 1,
  92. tickWidth: 1,
  93. tickColor: '#000',
  94. labels: {
  95. style: {
  96. color: '#000',
  97. font: '11px Trebuchet MS, Verdana, sans-serif'
  98. }
  99. },
  100. title: {
  101. style: {
  102. color: '#333',
  103. fontWeight: 'bold',
  104. fontSize: '12px',
  105. fontFamily: 'Trebuchet MS, Verdana, sans-serif'
  106. }
  107. }
  108. },
  109. legend: {
  110. itemStyle: {
  111. font: '9pt Trebuchet MS, Verdana, sans-serif',
  112. color: 'black'
  113. },
  114. itemHoverStyle: {
  115. color: '#039'
  116. },
  117. itemHiddenStyle: {
  118. color: 'gray'
  119. }
  120. },
  121. labels: {
  122. style: {
  123. color: '#99b'
  124. }
  125. },
  126. navigation: {
  127. buttonOptions: {
  128. theme: {
  129. stroke: '#CCCCCC'
  130. }
  131. }
  132. }
  133. };
  134. // Apply the theme
  135. Highcharts.setOptions(Highcharts.theme);
  136. });
  137. _registerModule(_modules, 'masters/themes/grid.src.js', [], function () {
  138. });
  139. }));