avocado.js 745 B

12345678910111213141516171819202122232425262728293031323334353637
  1. /**
  2. * (c) 2010-2017 Highsoft AS
  3. *
  4. * License: www.highcharts.com/license
  5. *
  6. * Accessible high-contrast theme for Highcharts. Considers colorblindness and
  7. * monochrome rendering.
  8. * @author Øystein Moseng
  9. */
  10. 'use strict';
  11. import Highcharts from '../parts/Globals.js';
  12. Highcharts.theme = {
  13. colors: ['#F3E796', '#95C471', '#35729E', '#251735'],
  14. colorAxis: {
  15. maxColor: '#05426E',
  16. minColor: '#F3E796'
  17. },
  18. plotOptions: {
  19. map: {
  20. nullColor: '#fcfefe'
  21. }
  22. },
  23. navigator: {
  24. maskFill: 'rgba(170, 205, 170, 0.5)',
  25. series: {
  26. color: '#95C471',
  27. lineColor: '#35729E'
  28. }
  29. }
  30. };
  31. // Apply the theme
  32. Highcharts.setOptions(Highcharts.theme);