avocado.src.js 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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/avocado', ['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/Avocado.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: ['#F3E796', '#95C471', '#35729E', '#251735'],
  47. colorAxis: {
  48. maxColor: '#05426E',
  49. minColor: '#F3E796'
  50. },
  51. plotOptions: {
  52. map: {
  53. nullColor: '#FCFEFE'
  54. }
  55. },
  56. navigator: {
  57. maskFill: 'rgba(170, 205, 170, 0.5)',
  58. series: {
  59. color: '#95C471',
  60. lineColor: '#35729E'
  61. }
  62. }
  63. };
  64. // Apply the theme
  65. setOptions(H.theme);
  66. });
  67. _registerModule(_modules, 'masters/themes/avocado.src.js', [], function () {
  68. });
  69. }));