grid.src.js 3.2 KB

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