skies.src.js 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  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. * Skies theme for Highcharts JS
  28. * @author Torstein Honsi
  29. */
  30. Highcharts.theme = {
  31. colors: ['#514F78', '#42A07B', '#9B5E4A', '#72727F', '#1F949A',
  32. '#82914E', '#86777F', '#42A07B'],
  33. chart: {
  34. className: 'skies',
  35. borderWidth: 0,
  36. plotShadow: true,
  37. plotBackgroundImage: 'https://www.highcharts.com/demo/gfx/skies.jpg',
  38. plotBackgroundColor: {
  39. linearGradient: [0, 0, 250, 500],
  40. stops: [
  41. [0, 'rgba(255, 255, 255, 1)'],
  42. [1, 'rgba(255, 255, 255, 0)']
  43. ]
  44. },
  45. plotBorderWidth: 1
  46. },
  47. title: {
  48. style: {
  49. color: '#3E576F',
  50. font: '16px Lucida Grande, Lucida Sans Unicode,' +
  51. ' Verdana, Arial, Helvetica, sans-serif'
  52. }
  53. },
  54. subtitle: {
  55. style: {
  56. color: '#6D869F',
  57. font: '12px Lucida Grande, Lucida Sans Unicode,' +
  58. ' Verdana, Arial, Helvetica, sans-serif'
  59. }
  60. },
  61. xAxis: {
  62. gridLineWidth: 0,
  63. lineColor: '#C0D0E0',
  64. tickColor: '#C0D0E0',
  65. labels: {
  66. style: {
  67. color: '#666',
  68. fontWeight: 'bold'
  69. }
  70. },
  71. title: {
  72. style: {
  73. color: '#666',
  74. font: '12px Lucida Grande, Lucida Sans Unicode,' +
  75. ' Verdana, Arial, Helvetica, sans-serif'
  76. }
  77. }
  78. },
  79. yAxis: {
  80. alternateGridColor: 'rgba(255, 255, 255, .5)',
  81. lineColor: '#C0D0E0',
  82. tickColor: '#C0D0E0',
  83. tickWidth: 1,
  84. labels: {
  85. style: {
  86. color: '#666',
  87. fontWeight: 'bold'
  88. }
  89. },
  90. title: {
  91. style: {
  92. color: '#666',
  93. font: '12px Lucida Grande, Lucida Sans Unicode,' +
  94. ' Verdana, Arial, Helvetica, sans-serif'
  95. }
  96. }
  97. },
  98. legend: {
  99. itemStyle: {
  100. font: '9pt Trebuchet MS, Verdana, sans-serif',
  101. color: '#3E576F'
  102. },
  103. itemHoverStyle: {
  104. color: 'black'
  105. },
  106. itemHiddenStyle: {
  107. color: 'silver'
  108. }
  109. },
  110. labels: {
  111. style: {
  112. color: '#3E576F'
  113. }
  114. }
  115. };
  116. // Apply the theme
  117. Highcharts.setOptions(Highcharts.theme);
  118. }(Highcharts));
  119. return (function () {
  120. }());
  121. }));