grid.src.js 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. /**
  2. * @license Highcharts JS v6.1.0 (2018-04-13)
  3. *
  4. * (c) 2009-2017 Torstein Honsi
  5. *
  6. * License: www.highcharts.com/license
  7. */
  8. 'use strict';
  9. (function (factory) {
  10. if (typeof module === 'object' && module.exports) {
  11. module.exports = factory;
  12. } else {
  13. factory(Highcharts);
  14. }
  15. }(function (Highcharts) {
  16. (function (Highcharts) {
  17. /**
  18. * (c) 2010-2017 Torstein Honsi
  19. *
  20. * License: www.highcharts.com/license
  21. *
  22. * Grid theme for Highcharts JS
  23. * @author Torstein Honsi
  24. */
  25. Highcharts.theme = {
  26. colors: ['#058DC7', '#50B432', '#ED561B', '#DDDF00', '#24CBE5', '#64E572',
  27. '#FF9655', '#FFF263', '#6AF9C4'],
  28. chart: {
  29. backgroundColor: {
  30. linearGradient: { x1: 0, y1: 0, x2: 1, y2: 1 },
  31. stops: [
  32. [0, 'rgb(255, 255, 255)'],
  33. [1, 'rgb(240, 240, 255)']
  34. ]
  35. },
  36. borderWidth: 2,
  37. plotBackgroundColor: 'rgba(255, 255, 255, .9)',
  38. plotShadow: true,
  39. plotBorderWidth: 1
  40. },
  41. title: {
  42. style: {
  43. color: '#000',
  44. font: 'bold 16px "Trebuchet MS", Verdana, sans-serif'
  45. }
  46. },
  47. subtitle: {
  48. style: {
  49. color: '#666666',
  50. font: 'bold 12px "Trebuchet MS", Verdana, sans-serif'
  51. }
  52. },
  53. xAxis: {
  54. gridLineWidth: 1,
  55. lineColor: '#000',
  56. tickColor: '#000',
  57. labels: {
  58. style: {
  59. color: '#000',
  60. font: '11px Trebuchet MS, Verdana, sans-serif'
  61. }
  62. },
  63. title: {
  64. style: {
  65. color: '#333',
  66. fontWeight: 'bold',
  67. fontSize: '12px',
  68. fontFamily: 'Trebuchet MS, Verdana, sans-serif'
  69. }
  70. }
  71. },
  72. yAxis: {
  73. minorTickInterval: 'auto',
  74. lineColor: '#000',
  75. lineWidth: 1,
  76. tickWidth: 1,
  77. tickColor: '#000',
  78. labels: {
  79. style: {
  80. color: '#000',
  81. font: '11px Trebuchet MS, Verdana, sans-serif'
  82. }
  83. },
  84. title: {
  85. style: {
  86. color: '#333',
  87. fontWeight: 'bold',
  88. fontSize: '12px',
  89. fontFamily: 'Trebuchet MS, Verdana, sans-serif'
  90. }
  91. }
  92. },
  93. legend: {
  94. itemStyle: {
  95. font: '9pt Trebuchet MS, Verdana, sans-serif',
  96. color: 'black'
  97. },
  98. itemHoverStyle: {
  99. color: '#039'
  100. },
  101. itemHiddenStyle: {
  102. color: 'gray'
  103. }
  104. },
  105. labels: {
  106. style: {
  107. color: '#99b'
  108. }
  109. },
  110. navigation: {
  111. buttonOptions: {
  112. theme: {
  113. stroke: '#CCCCCC'
  114. }
  115. }
  116. }
  117. };
  118. // Apply the theme
  119. Highcharts.setOptions(Highcharts.theme);
  120. }(Highcharts));
  121. }));