sunset.src.js 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. /**
  2. * @license Highcharts JS v9.1.1 (2021-06-04)
  3. *
  4. * (c) 2009-2021 Highsoft AS
  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/sunset', ['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, 'Extensions/Themes/Sunset.js', [_modules['Core/Globals.js'], _modules['Core/DefaultOptions.js']], function (H, D) {
  30. /* *
  31. *
  32. * (c) 2010-2021 Highsoft AS
  33. *
  34. * Author: Øystein Moseng
  35. *
  36. * License: www.highcharts.com/license
  37. *
  38. * Accessible high-contrast theme for Highcharts. Considers colorblindness and
  39. * monochrome rendering.
  40. *
  41. * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
  42. *
  43. * */
  44. var setOptions = D.setOptions;
  45. H.theme = {
  46. colors: ['#FDD089', '#FF7F79', '#A0446E', '#251535'],
  47. colorAxis: {
  48. maxColor: '#60042E',
  49. minColor: '#FDD089'
  50. },
  51. plotOptions: {
  52. map: {
  53. nullColor: '#fefefc'
  54. }
  55. },
  56. navigator: {
  57. series: {
  58. color: '#FF7F79',
  59. lineColor: '#A0446E'
  60. }
  61. }
  62. };
  63. // Apply the theme
  64. setOptions(H.theme);
  65. });
  66. _registerModule(_modules, 'masters/themes/sunset.src.js', [], function () {
  67. });
  68. }));