highcharts_rails 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +10 -0
- data/.rspec +2 -0
- data/.travis.yml +5 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +106 -0
- data/Rakefile +6 -0
- data/highcharts_rails.gemspec +27 -0
- data/lib/highcharts_rails/version.rb +3 -0
- data/lib/highcharts_rails.rb +8 -0
- data/vendor/assets/javascripts/highcharts-3d.src.js +2139 -0
- data/vendor/assets/javascripts/highcharts-more.src.js +2982 -0
- data/vendor/assets/javascripts/highcharts.src.js +22947 -0
- data/vendor/assets/javascripts/js/highcharts-3d.src.js +2085 -0
- data/vendor/assets/javascripts/js/highcharts-more.src.js +2820 -0
- data/vendor/assets/javascripts/js/highcharts.src.js +20917 -0
- data/vendor/assets/javascripts/js/modules/accessibility.src.js +1072 -0
- data/vendor/assets/javascripts/js/modules/annotations.src.js +408 -0
- data/vendor/assets/javascripts/js/modules/boost.src.js +652 -0
- data/vendor/assets/javascripts/js/modules/broken-axis.src.js +338 -0
- data/vendor/assets/javascripts/js/modules/data.src.js +981 -0
- data/vendor/assets/javascripts/js/modules/drilldown.src.js +756 -0
- data/vendor/assets/javascripts/js/modules/exporting.src.js +953 -0
- data/vendor/assets/javascripts/js/modules/funnel.src.js +290 -0
- data/vendor/assets/javascripts/js/modules/gantt.src.js +791 -0
- data/vendor/assets/javascripts/js/modules/grid-axis.src.js +545 -0
- data/vendor/assets/javascripts/js/modules/heatmap.src.js +798 -0
- data/vendor/assets/javascripts/js/modules/no-data-to-display.src.js +150 -0
- data/vendor/assets/javascripts/js/modules/offline-exporting.src.js +492 -0
- data/vendor/assets/javascripts/js/modules/overlapping-datalabels.src.js +164 -0
- data/vendor/assets/javascripts/js/modules/series-label.src.js +606 -0
- data/vendor/assets/javascripts/js/modules/solid-gauge.src.js +305 -0
- data/vendor/assets/javascripts/js/modules/treemap.src.js +881 -0
- data/vendor/assets/javascripts/js/modules/xrange-series.src.js +254 -0
- data/vendor/assets/javascripts/js/themes/dark-blue.js +317 -0
- data/vendor/assets/javascripts/js/themes/dark-green.js +314 -0
- data/vendor/assets/javascripts/js/themes/dark-unica.js +243 -0
- data/vendor/assets/javascripts/js/themes/gray.js +326 -0
- data/vendor/assets/javascripts/js/themes/grid-light.js +99 -0
- data/vendor/assets/javascripts/js/themes/grid.js +131 -0
- data/vendor/assets/javascripts/js/themes/sand-signika.js +129 -0
- data/vendor/assets/javascripts/js/themes/skies.js +112 -0
- data/vendor/assets/javascripts/lib/canvg.src.js +3073 -0
- data/vendor/assets/javascripts/lib/jspdf.src.js +3031 -0
- data/vendor/assets/javascripts/lib/rgbcolor.src.js +299 -0
- data/vendor/assets/javascripts/lib/svg2pdf.src.js +1451 -0
- data/vendor/assets/javascripts/modules/accessibility.src.js +1072 -0
- data/vendor/assets/javascripts/modules/annotations.src.js +408 -0
- data/vendor/assets/javascripts/modules/boost.src.js +652 -0
- data/vendor/assets/javascripts/modules/broken-axis.src.js +338 -0
- data/vendor/assets/javascripts/modules/data.src.js +981 -0
- data/vendor/assets/javascripts/modules/drilldown.src.js +797 -0
- data/vendor/assets/javascripts/modules/exporting.src.js +882 -0
- data/vendor/assets/javascripts/modules/funnel.src.js +304 -0
- data/vendor/assets/javascripts/modules/gantt.src.js +815 -0
- data/vendor/assets/javascripts/modules/grid-axis.src.js +547 -0
- data/vendor/assets/javascripts/modules/heatmap.src.js +810 -0
- data/vendor/assets/javascripts/modules/no-data-to-display.src.js +161 -0
- data/vendor/assets/javascripts/modules/offline-exporting.src.js +492 -0
- data/vendor/assets/javascripts/modules/overlapping-datalabels.src.js +164 -0
- data/vendor/assets/javascripts/modules/series-label.src.js +606 -0
- data/vendor/assets/javascripts/modules/solid-gauge.src.js +316 -0
- data/vendor/assets/javascripts/modules/treemap.src.js +935 -0
- data/vendor/assets/javascripts/modules/xrange-series.src.js +276 -0
- data/vendor/assets/javascripts/themes/dark-blue.js +317 -0
- data/vendor/assets/javascripts/themes/dark-green.js +314 -0
- data/vendor/assets/javascripts/themes/dark-unica.js +243 -0
- data/vendor/assets/javascripts/themes/gray.js +326 -0
- data/vendor/assets/javascripts/themes/grid-light.js +99 -0
- data/vendor/assets/javascripts/themes/grid.js +131 -0
- data/vendor/assets/javascripts/themes/sand-signika.js +129 -0
- data/vendor/assets/javascripts/themes/skies.js +112 -0
- data/vendor/assets/stylesheets/highcharts.scss +610 -0
- metadata +161 -0
@@ -0,0 +1,112 @@
|
|
1
|
+
/**
|
2
|
+
* @license Highcharts JS v5.0.6 (2016-12-07)
|
3
|
+
*
|
4
|
+
* (c) 2009-2016 Torstein Honsi
|
5
|
+
*
|
6
|
+
* License: www.highcharts.com/license
|
7
|
+
*/
|
8
|
+
(function(factory) {
|
9
|
+
if (typeof module === 'object' && module.exports) {
|
10
|
+
module.exports = factory;
|
11
|
+
} else {
|
12
|
+
factory(Highcharts);
|
13
|
+
}
|
14
|
+
}(function(Highcharts) {
|
15
|
+
(function(Highcharts) {
|
16
|
+
/**
|
17
|
+
* (c) 2010-2016 Torstein Honsi
|
18
|
+
*
|
19
|
+
* License: www.highcharts.com/license
|
20
|
+
*
|
21
|
+
* Skies theme for Highcharts JS
|
22
|
+
* @author Torstein Honsi
|
23
|
+
*/
|
24
|
+
|
25
|
+
'use strict';
|
26
|
+
Highcharts.theme = {
|
27
|
+
colors: ['#514F78', '#42A07B', '#9B5E4A', '#72727F', '#1F949A', '#82914E', '#86777F', '#42A07B'],
|
28
|
+
chart: {
|
29
|
+
className: 'skies',
|
30
|
+
borderWidth: 0,
|
31
|
+
plotShadow: true,
|
32
|
+
plotBackgroundImage: 'http://www.highcharts.com/demo/gfx/skies.jpg',
|
33
|
+
plotBackgroundColor: {
|
34
|
+
linearGradient: [0, 0, 250, 500],
|
35
|
+
stops: [
|
36
|
+
[0, 'rgba(255, 255, 255, 1)'],
|
37
|
+
[1, 'rgba(255, 255, 255, 0)']
|
38
|
+
]
|
39
|
+
},
|
40
|
+
plotBorderWidth: 1
|
41
|
+
},
|
42
|
+
title: {
|
43
|
+
style: {
|
44
|
+
color: '#3E576F',
|
45
|
+
font: '16px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif'
|
46
|
+
}
|
47
|
+
},
|
48
|
+
subtitle: {
|
49
|
+
style: {
|
50
|
+
color: '#6D869F',
|
51
|
+
font: '12px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif'
|
52
|
+
}
|
53
|
+
},
|
54
|
+
xAxis: {
|
55
|
+
gridLineWidth: 0,
|
56
|
+
lineColor: '#C0D0E0',
|
57
|
+
tickColor: '#C0D0E0',
|
58
|
+
labels: {
|
59
|
+
style: {
|
60
|
+
color: '#666',
|
61
|
+
fontWeight: 'bold'
|
62
|
+
}
|
63
|
+
},
|
64
|
+
title: {
|
65
|
+
style: {
|
66
|
+
color: '#666',
|
67
|
+
font: '12px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif'
|
68
|
+
}
|
69
|
+
}
|
70
|
+
},
|
71
|
+
yAxis: {
|
72
|
+
alternateGridColor: 'rgba(255, 255, 255, .5)',
|
73
|
+
lineColor: '#C0D0E0',
|
74
|
+
tickColor: '#C0D0E0',
|
75
|
+
tickWidth: 1,
|
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, Verdana, Arial, Helvetica, sans-serif'
|
86
|
+
}
|
87
|
+
}
|
88
|
+
},
|
89
|
+
legend: {
|
90
|
+
itemStyle: {
|
91
|
+
font: '9pt Trebuchet MS, Verdana, sans-serif',
|
92
|
+
color: '#3E576F'
|
93
|
+
},
|
94
|
+
itemHoverStyle: {
|
95
|
+
color: 'black'
|
96
|
+
},
|
97
|
+
itemHiddenStyle: {
|
98
|
+
color: 'silver'
|
99
|
+
}
|
100
|
+
},
|
101
|
+
labels: {
|
102
|
+
style: {
|
103
|
+
color: '#3E576F'
|
104
|
+
}
|
105
|
+
}
|
106
|
+
};
|
107
|
+
|
108
|
+
// Apply the theme
|
109
|
+
Highcharts.setOptions(Highcharts.theme);
|
110
|
+
|
111
|
+
}(Highcharts));
|
112
|
+
}));
|