skies.src.js 4.3 KB

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