highcharts-rails 5.0.14 → 6.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.markdown +60 -0
  3. data/Rakefile +54 -5
  4. data/app/assets/images/highcharts/earth.svg +432 -0
  5. data/app/assets/javascripts/highcharts.js +5103 -3147
  6. data/app/assets/javascripts/highcharts/highcharts-3d.js +930 -277
  7. data/app/assets/javascripts/highcharts/highcharts-more.js +1374 -249
  8. data/app/assets/javascripts/highcharts/lib/canvg.js +3073 -0
  9. data/app/assets/javascripts/highcharts/lib/jspdf.js +16624 -0
  10. data/app/assets/javascripts/highcharts/lib/rgbcolor.js +299 -0
  11. data/app/assets/javascripts/highcharts/lib/svg2pdf.js +3488 -0
  12. data/app/assets/javascripts/highcharts/modules/accessibility.js +654 -212
  13. data/app/assets/javascripts/highcharts/modules/annotations.js +1552 -274
  14. data/app/assets/javascripts/highcharts/modules/boost-canvas.js +773 -0
  15. data/app/assets/javascripts/highcharts/modules/boost.js +636 -210
  16. data/app/assets/javascripts/highcharts/modules/broken-axis.js +2 -2
  17. data/app/assets/javascripts/highcharts/modules/bullet.js +364 -0
  18. data/app/assets/javascripts/highcharts/modules/data.js +766 -38
  19. data/app/assets/javascripts/highcharts/modules/drag-panes.js +588 -0
  20. data/app/assets/javascripts/highcharts/modules/drilldown.js +106 -36
  21. data/app/assets/javascripts/highcharts/modules/export-data.js +597 -0
  22. data/app/assets/javascripts/highcharts/modules/exporting.js +424 -162
  23. data/app/assets/javascripts/highcharts/modules/funnel.js +144 -22
  24. data/app/assets/javascripts/highcharts/modules/gantt.js +1154 -0
  25. data/app/assets/javascripts/highcharts/modules/grid-axis.js +1 -1
  26. data/app/assets/javascripts/highcharts/modules/heatmap.js +406 -80
  27. data/app/assets/javascripts/highcharts/modules/histogram-bellcurve.js +513 -0
  28. data/app/assets/javascripts/highcharts/modules/item-series.js +126 -0
  29. data/app/assets/javascripts/highcharts/modules/no-data-to-display.js +31 -13
  30. data/app/assets/javascripts/highcharts/modules/offline-exporting.js +179 -57
  31. data/app/assets/javascripts/highcharts/modules/oldie.js +1378 -0
  32. data/app/assets/javascripts/highcharts/modules/overlapping-datalabels.js +8 -6
  33. data/app/assets/javascripts/highcharts/modules/parallel-coordinates.js +494 -0
  34. data/app/assets/javascripts/highcharts/modules/pareto.js +275 -0
  35. data/app/assets/javascripts/highcharts/modules/sankey.js +641 -0
  36. data/app/assets/javascripts/highcharts/modules/series-label.js +355 -145
  37. data/app/assets/javascripts/highcharts/modules/solid-gauge.js +122 -1
  38. data/app/assets/javascripts/highcharts/modules/static-scale.js +64 -0
  39. data/app/assets/javascripts/highcharts/modules/stock.js +1944 -676
  40. data/app/assets/javascripts/highcharts/modules/streamgraph.js +139 -0
  41. data/app/assets/javascripts/highcharts/modules/sunburst.js +2403 -0
  42. data/app/assets/javascripts/highcharts/modules/tilemap.js +1199 -0
  43. data/app/assets/javascripts/highcharts/modules/treemap.js +538 -134
  44. data/app/assets/javascripts/highcharts/modules/variable-pie.js +490 -0
  45. data/app/assets/javascripts/highcharts/modules/variwide.js +283 -0
  46. data/app/assets/javascripts/highcharts/modules/vector.js +294 -0
  47. data/app/assets/javascripts/highcharts/modules/windbarb.js +490 -0
  48. data/app/assets/javascripts/highcharts/modules/wordcloud.js +681 -0
  49. data/app/assets/javascripts/highcharts/modules/xrange.js +615 -0
  50. data/app/assets/javascripts/highcharts/themes/avocado.js +54 -0
  51. data/app/assets/javascripts/highcharts/themes/dark-blue.js +6 -6
  52. data/app/assets/javascripts/highcharts/themes/dark-green.js +6 -6
  53. data/app/assets/javascripts/highcharts/themes/dark-unica.js +6 -6
  54. data/app/assets/javascripts/highcharts/themes/gray.js +14 -10
  55. data/app/assets/javascripts/highcharts/themes/grid-light.js +6 -6
  56. data/app/assets/javascripts/highcharts/themes/grid.js +7 -5
  57. data/app/assets/javascripts/highcharts/themes/sand-signika.js +8 -7
  58. data/app/assets/javascripts/highcharts/themes/skies.js +15 -9
  59. data/app/assets/javascripts/highcharts/themes/sunset.js +53 -0
  60. data/app/assets/stylesheets/highcharts/highcharts.css +802 -0
  61. data/app/assets/stylesheets/highcharts/highcharts.scss +665 -0
  62. data/lib/highcharts/version.rb +1 -1
  63. metadata +31 -1
@@ -0,0 +1,54 @@
1
+ /**
2
+ * @license Highcharts JS v6.0.0 (2017-10-04)
3
+ *
4
+ * (c) 2009-2017 Highsoft AS
5
+ *
6
+ * License: www.highcharts.com/license
7
+ */
8
+ 'use strict';
9
+ (function(factory) {
10
+ if (typeof module === 'object' && module.exports) {
11
+ module.exports = factory;
12
+ } else {
13
+ factory(Highcharts);
14
+ }
15
+ }(function(Highcharts) {
16
+ (function(Highcharts) {
17
+ /**
18
+ * (c) 2010-2017 Highsoft AS
19
+ *
20
+ * License: www.highcharts.com/license
21
+ *
22
+ * Accessible high-contrast theme for Highcharts. Considers colorblindness and
23
+ * monochrome rendering.
24
+ * @author Øystein Moseng
25
+ */
26
+
27
+ Highcharts.theme = {
28
+ colors: ['#F3E796', '#95C471', '#35729E', '#251735'],
29
+
30
+ colorAxis: {
31
+ maxColor: '#05426E',
32
+ minColor: '#F3E796'
33
+ },
34
+
35
+ plotOptions: {
36
+ map: {
37
+ nullColor: '#fcfefe'
38
+ }
39
+ },
40
+
41
+ navigator: {
42
+ maskFill: 'rgba(170, 205, 170, 0.5)',
43
+ series: {
44
+ color: '#95C471',
45
+ lineColor: '#35729E'
46
+ }
47
+ }
48
+ };
49
+
50
+ // Apply the theme
51
+ Highcharts.setOptions(Highcharts.theme);
52
+
53
+ }(Highcharts));
54
+ }));
@@ -1,10 +1,11 @@
1
1
  /**
2
- * @license Highcharts JS v5.0.0 (2016-09-29)
2
+ * @license Highcharts JS v6.0.0 (2017-10-04)
3
3
  *
4
- * (c) 2009-2016 Torstein Honsi
4
+ * (c) 2009-2017 Torstein Honsi
5
5
  *
6
6
  * License: www.highcharts.com/license
7
7
  */
8
+ 'use strict';
8
9
  (function(factory) {
9
10
  if (typeof module === 'object' && module.exports) {
10
11
  module.exports = factory;
@@ -14,17 +15,16 @@
14
15
  }(function(Highcharts) {
15
16
  (function(Highcharts) {
16
17
  /**
17
- * (c) 2010-2016 Torstein Honsi
18
+ * (c) 2010-2017 Torstein Honsi
18
19
  *
19
20
  * License: www.highcharts.com/license
20
21
  *
21
22
  * Dark blue theme for Highcharts JS
22
23
  * @author Torstein Honsi
23
24
  */
24
- 'use strict';
25
25
  Highcharts.theme = {
26
- colors: ['#DDDF0D', '#55BF3B', '#DF5353', '#7798BF', '#aaeeee', '#ff0066', '#eeaaee',
27
- '#55BF3B', '#DF5353', '#7798BF', '#aaeeee'
26
+ colors: ['#DDDF0D', '#55BF3B', '#DF5353', '#7798BF', '#aaeeee',
27
+ '#ff0066', '#eeaaee', '#55BF3B', '#DF5353', '#7798BF', '#aaeeee'
28
28
  ],
29
29
  chart: {
30
30
  backgroundColor: {
@@ -1,10 +1,11 @@
1
1
  /**
2
- * @license Highcharts JS v5.0.0 (2016-09-29)
2
+ * @license Highcharts JS v6.0.0 (2017-10-04)
3
3
  *
4
- * (c) 2009-2016 Torstein Honsi
4
+ * (c) 2009-2017 Torstein Honsi
5
5
  *
6
6
  * License: www.highcharts.com/license
7
7
  */
8
+ 'use strict';
8
9
  (function(factory) {
9
10
  if (typeof module === 'object' && module.exports) {
10
11
  module.exports = factory;
@@ -14,7 +15,7 @@
14
15
  }(function(Highcharts) {
15
16
  (function(Highcharts) {
16
17
  /**
17
- * (c) 2010-2016 Torstein Honsi
18
+ * (c) 2010-2017 Torstein Honsi
18
19
  *
19
20
  * License: www.highcharts.com/license
20
21
  *
@@ -22,10 +23,9 @@
22
23
  * @author Torstein Honsi
23
24
  */
24
25
 
25
- 'use strict';
26
26
  Highcharts.theme = {
27
- colors: ['#DDDF0D', '#55BF3B', '#DF5353', '#7798BF', '#aaeeee', '#ff0066', '#eeaaee',
28
- '#55BF3B', '#DF5353', '#7798BF', '#aaeeee'
27
+ colors: ['#DDDF0D', '#55BF3B', '#DF5353', '#7798BF', '#aaeeee',
28
+ '#ff0066', '#eeaaee', '#55BF3B', '#DF5353', '#7798BF', '#aaeeee'
29
29
  ],
30
30
  chart: {
31
31
  backgroundColor: {
@@ -1,10 +1,11 @@
1
1
  /**
2
- * @license Highcharts JS v5.0.0 (2016-09-29)
2
+ * @license Highcharts JS v6.0.0 (2017-10-04)
3
3
  *
4
- * (c) 2009-2016 Torstein Honsi
4
+ * (c) 2009-2017 Torstein Honsi
5
5
  *
6
6
  * License: www.highcharts.com/license
7
7
  */
8
+ 'use strict';
8
9
  (function(factory) {
9
10
  if (typeof module === 'object' && module.exports) {
10
11
  module.exports = factory;
@@ -14,7 +15,7 @@
14
15
  }(function(Highcharts) {
15
16
  (function(Highcharts) {
16
17
  /**
17
- * (c) 2010-2016 Torstein Honsi
18
+ * (c) 2010-2017 Torstein Honsi
18
19
  *
19
20
  * License: www.highcharts.com/license
20
21
  *
@@ -22,7 +23,6 @@
22
23
  * @author Torstein Honsi
23
24
  */
24
25
 
25
- 'use strict';
26
26
  /* global document */
27
27
  // Load the fonts
28
28
  Highcharts.createElement('link', {
@@ -32,8 +32,8 @@
32
32
  }, null, document.getElementsByTagName('head')[0]);
33
33
 
34
34
  Highcharts.theme = {
35
- colors: ['#2b908f', '#90ee7e', '#f45b5b', '#7798BF', '#aaeeee', '#ff0066', '#eeaaee',
36
- '#55BF3B', '#DF5353', '#7798BF', '#aaeeee'
35
+ colors: ['#2b908f', '#90ee7e', '#f45b5b', '#7798BF', '#aaeeee', '#ff0066',
36
+ '#eeaaee', '#55BF3B', '#DF5353', '#7798BF', '#aaeeee'
37
37
  ],
38
38
  chart: {
39
39
  backgroundColor: {
@@ -1,10 +1,11 @@
1
1
  /**
2
- * @license Highcharts JS v5.0.0 (2016-09-29)
2
+ * @license Highcharts JS v6.0.0 (2017-10-04)
3
3
  *
4
- * (c) 2009-2016 Torstein Honsi
4
+ * (c) 2009-2017 Torstein Honsi
5
5
  *
6
6
  * License: www.highcharts.com/license
7
7
  */
8
+ 'use strict';
8
9
  (function(factory) {
9
10
  if (typeof module === 'object' && module.exports) {
10
11
  module.exports = factory;
@@ -14,7 +15,7 @@
14
15
  }(function(Highcharts) {
15
16
  (function(Highcharts) {
16
17
  /**
17
- * (c) 2010-2016 Torstein Honsi
18
+ * (c) 2010-2017 Torstein Honsi
18
19
  *
19
20
  * License: www.highcharts.com/license
20
21
  *
@@ -22,10 +23,9 @@
22
23
  * @author Torstein Honsi
23
24
  */
24
25
 
25
- 'use strict';
26
26
  Highcharts.theme = {
27
- colors: ['#DDDF0D', '#7798BF', '#55BF3B', '#DF5353', '#aaeeee', '#ff0066', '#eeaaee',
28
- '#55BF3B', '#DF5353', '#7798BF', '#aaeeee'
27
+ colors: ['#DDDF0D', '#7798BF', '#55BF3B', '#DF5353', '#aaeeee',
28
+ '#ff0066', '#eeaaee', '#55BF3B', '#DF5353', '#7798BF', '#aaeeee'
29
29
  ],
30
30
  chart: {
31
31
  backgroundColor: {
@@ -49,13 +49,15 @@
49
49
  title: {
50
50
  style: {
51
51
  color: '#FFF',
52
- font: '16px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif'
52
+ font: '16px Lucida Grande, Lucida Sans Unicode,' +
53
+ ' Verdana, Arial, Helvetica, sans-serif'
53
54
  }
54
55
  },
55
56
  subtitle: {
56
57
  style: {
57
58
  color: '#DDD',
58
- font: '12px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif'
59
+ font: '12px Lucida Grande, Lucida Sans Unicode,' +
60
+ ' Verdana, Arial, Helvetica, sans-serif'
59
61
  }
60
62
  },
61
63
  xAxis: {
@@ -71,7 +73,8 @@
71
73
  title: {
72
74
  style: {
73
75
  color: '#AAA',
74
- font: 'bold 12px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif'
76
+ font: 'bold 12px Lucida Grande, Lucida Sans Unicode,' +
77
+ ' Verdana, Arial, Helvetica, sans-serif'
75
78
  }
76
79
  }
77
80
  },
@@ -91,7 +94,8 @@
91
94
  title: {
92
95
  style: {
93
96
  color: '#AAA',
94
- font: 'bold 12px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif'
97
+ font: 'bold 12px Lucida Grande, Lucida Sans Unicode,' +
98
+ ' Verdana, Arial, Helvetica, sans-serif'
95
99
  }
96
100
  }
97
101
  },
@@ -1,10 +1,11 @@
1
1
  /**
2
- * @license Highcharts JS v5.0.0 (2016-09-29)
2
+ * @license Highcharts JS v6.0.0 (2017-10-04)
3
3
  *
4
- * (c) 2009-2016 Torstein Honsi
4
+ * (c) 2009-2017 Torstein Honsi
5
5
  *
6
6
  * License: www.highcharts.com/license
7
7
  */
8
+ 'use strict';
8
9
  (function(factory) {
9
10
  if (typeof module === 'object' && module.exports) {
10
11
  module.exports = factory;
@@ -14,7 +15,7 @@
14
15
  }(function(Highcharts) {
15
16
  (function(Highcharts) {
16
17
  /**
17
- * (c) 2010-2016 Torstein Honsi
18
+ * (c) 2010-2017 Torstein Honsi
18
19
  *
19
20
  * License: www.highcharts.com/license
20
21
  *
@@ -22,7 +23,6 @@
22
23
  * @author Torstein Honsi
23
24
  */
24
25
 
25
- 'use strict';
26
26
  /* global document */
27
27
  // Load the fonts
28
28
  Highcharts.createElement('link', {
@@ -32,8 +32,8 @@
32
32
  }, null, document.getElementsByTagName('head')[0]);
33
33
 
34
34
  Highcharts.theme = {
35
- colors: ['#7cb5ec', '#f7a35c', '#90ee7e', '#7798BF', '#aaeeee', '#ff0066', '#eeaaee',
36
- '#55BF3B', '#DF5353', '#7798BF', '#aaeeee'
35
+ colors: ['#7cb5ec', '#f7a35c', '#90ee7e', '#7798BF', '#aaeeee', '#ff0066',
36
+ '#eeaaee', '#55BF3B', '#DF5353', '#7798BF', '#aaeeee'
37
37
  ],
38
38
  chart: {
39
39
  backgroundColor: null,
@@ -1,10 +1,11 @@
1
1
  /**
2
- * @license Highcharts JS v5.0.0 (2016-09-29)
2
+ * @license Highcharts JS v6.0.0 (2017-10-04)
3
3
  *
4
- * (c) 2009-2016 Torstein Honsi
4
+ * (c) 2009-2017 Torstein Honsi
5
5
  *
6
6
  * License: www.highcharts.com/license
7
7
  */
8
+ 'use strict';
8
9
  (function(factory) {
9
10
  if (typeof module === 'object' && module.exports) {
10
11
  module.exports = factory;
@@ -14,7 +15,7 @@
14
15
  }(function(Highcharts) {
15
16
  (function(Highcharts) {
16
17
  /**
17
- * (c) 2010-2016 Torstein Honsi
18
+ * (c) 2010-2017 Torstein Honsi
18
19
  *
19
20
  * License: www.highcharts.com/license
20
21
  *
@@ -22,9 +23,10 @@
22
23
  * @author Torstein Honsi
23
24
  */
24
25
 
25
- 'use strict';
26
26
  Highcharts.theme = {
27
- colors: ['#058DC7', '#50B432', '#ED561B', '#DDDF00', '#24CBE5', '#64E572', '#FF9655', '#FFF263', '#6AF9C4'],
27
+ colors: ['#058DC7', '#50B432', '#ED561B', '#DDDF00', '#24CBE5', '#64E572',
28
+ '#FF9655', '#FFF263', '#6AF9C4'
29
+ ],
28
30
  chart: {
29
31
  backgroundColor: {
30
32
  linearGradient: {
@@ -1,10 +1,11 @@
1
1
  /**
2
- * @license Highcharts JS v5.0.0 (2016-09-29)
2
+ * @license Highcharts JS v6.0.0 (2017-10-04)
3
3
  *
4
- * (c) 2009-2016 Torstein Honsi
4
+ * (c) 2009-2017 Torstein Honsi
5
5
  *
6
6
  * License: www.highcharts.com/license
7
7
  */
8
+ 'use strict';
8
9
  (function(factory) {
9
10
  if (typeof module === 'object' && module.exports) {
10
11
  module.exports = factory;
@@ -14,7 +15,7 @@
14
15
  }(function(Highcharts) {
15
16
  (function(Highcharts) {
16
17
  /**
17
- * (c) 2010-2016 Torstein Honsi
18
+ * (c) 2010-2017 Torstein Honsi
18
19
  *
19
20
  * License: www.highcharts.com/license
20
21
  *
@@ -22,7 +23,6 @@
22
23
  * @author Torstein Honsi
23
24
  */
24
25
 
25
- 'use strict';
26
26
  /* global document */
27
27
  // Load the fonts
28
28
  Highcharts.createElement('link', {
@@ -34,13 +34,14 @@
34
34
  // Add the background image to the container
35
35
  Highcharts.wrap(Highcharts.Chart.prototype, 'getContainer', function(proceed) {
36
36
  proceed.call(this);
37
- this.container.style.background = 'url(http://www.highcharts.com/samples/graphics/sand.png)';
37
+ this.container.style.background =
38
+ 'url(http://www.highcharts.com/samples/graphics/sand.png)';
38
39
  });
39
40
 
40
41
 
41
42
  Highcharts.theme = {
42
- colors: ['#f45b5b', '#8085e9', '#8d4654', '#7798BF', '#aaeeee', '#ff0066', '#eeaaee',
43
- '#55BF3B', '#DF5353', '#7798BF', '#aaeeee'
43
+ colors: ['#f45b5b', '#8085e9', '#8d4654', '#7798BF', '#aaeeee',
44
+ '#ff0066', '#eeaaee', '#55BF3B', '#DF5353', '#7798BF', '#aaeeee'
44
45
  ],
45
46
  chart: {
46
47
  backgroundColor: null,
@@ -1,10 +1,11 @@
1
1
  /**
2
- * @license Highcharts JS v5.0.0 (2016-09-29)
2
+ * @license Highcharts JS v6.0.0 (2017-10-04)
3
3
  *
4
- * (c) 2009-2016 Torstein Honsi
4
+ * (c) 2009-2017 Torstein Honsi
5
5
  *
6
6
  * License: www.highcharts.com/license
7
7
  */
8
+ 'use strict';
8
9
  (function(factory) {
9
10
  if (typeof module === 'object' && module.exports) {
10
11
  module.exports = factory;
@@ -14,7 +15,7 @@
14
15
  }(function(Highcharts) {
15
16
  (function(Highcharts) {
16
17
  /**
17
- * (c) 2010-2016 Torstein Honsi
18
+ * (c) 2010-2017 Torstein Honsi
18
19
  *
19
20
  * License: www.highcharts.com/license
20
21
  *
@@ -22,9 +23,10 @@
22
23
  * @author Torstein Honsi
23
24
  */
24
25
 
25
- 'use strict';
26
26
  Highcharts.theme = {
27
- colors: ['#514F78', '#42A07B', '#9B5E4A', '#72727F', '#1F949A', '#82914E', '#86777F', '#42A07B'],
27
+ colors: ['#514F78', '#42A07B', '#9B5E4A', '#72727F', '#1F949A',
28
+ '#82914E', '#86777F', '#42A07B'
29
+ ],
28
30
  chart: {
29
31
  className: 'skies',
30
32
  borderWidth: 0,
@@ -42,13 +44,15 @@
42
44
  title: {
43
45
  style: {
44
46
  color: '#3E576F',
45
- font: '16px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif'
47
+ font: '16px Lucida Grande, Lucida Sans Unicode,' +
48
+ ' Verdana, Arial, Helvetica, sans-serif'
46
49
  }
47
50
  },
48
51
  subtitle: {
49
52
  style: {
50
53
  color: '#6D869F',
51
- font: '12px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif'
54
+ font: '12px Lucida Grande, Lucida Sans Unicode,' +
55
+ ' Verdana, Arial, Helvetica, sans-serif'
52
56
  }
53
57
  },
54
58
  xAxis: {
@@ -64,7 +68,8 @@
64
68
  title: {
65
69
  style: {
66
70
  color: '#666',
67
- font: '12px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif'
71
+ font: '12px Lucida Grande, Lucida Sans Unicode,' +
72
+ ' Verdana, Arial, Helvetica, sans-serif'
68
73
  }
69
74
  }
70
75
  },
@@ -82,7 +87,8 @@
82
87
  title: {
83
88
  style: {
84
89
  color: '#666',
85
- font: '12px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif'
90
+ font: '12px Lucida Grande, Lucida Sans Unicode,' +
91
+ ' Verdana, Arial, Helvetica, sans-serif'
86
92
  }
87
93
  }
88
94
  },
@@ -0,0 +1,53 @@
1
+ /**
2
+ * @license Highcharts JS v6.0.0 (2017-10-04)
3
+ *
4
+ * (c) 2009-2017 Highsoft AS
5
+ *
6
+ * License: www.highcharts.com/license
7
+ */
8
+ 'use strict';
9
+ (function(factory) {
10
+ if (typeof module === 'object' && module.exports) {
11
+ module.exports = factory;
12
+ } else {
13
+ factory(Highcharts);
14
+ }
15
+ }(function(Highcharts) {
16
+ (function(Highcharts) {
17
+ /**
18
+ * (c) 2010-2017 Highsoft AS
19
+ *
20
+ * License: www.highcharts.com/license
21
+ *
22
+ * Accessible high-contrast theme for Highcharts. Considers colorblindness and
23
+ * monochrome rendering.
24
+ * @author Øystein Moseng
25
+ */
26
+
27
+ Highcharts.theme = {
28
+ colors: ['#FDD089', '#FF7F79', '#A0446E', '#251535'],
29
+
30
+ colorAxis: {
31
+ maxColor: '#60042E',
32
+ minColor: '#FDD089'
33
+ },
34
+
35
+ plotOptions: {
36
+ map: {
37
+ nullColor: '#fefefc'
38
+ }
39
+ },
40
+
41
+ navigator: {
42
+ series: {
43
+ color: '#FF7F79',
44
+ lineColor: '#A0446E'
45
+ }
46
+ }
47
+ };
48
+
49
+ // Apply the theme
50
+ Highcharts.setOptions(Highcharts.theme);
51
+
52
+ }(Highcharts));
53
+ }));