highcharts-rails 0.1.1 → 2.1.9
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +2 -1
- data/lib/highcharts/version.rb +1 -1
- data/vendor/assets/javascripts/highcharts.js +11454 -11103
- data/vendor/assets/javascripts/highcharts/adapters/mootools.js +264 -243
- data/vendor/assets/javascripts/highcharts/adapters/prototype.js +331 -284
- data/vendor/assets/javascripts/highcharts/modules/exporting.js +758 -703
- data/vendor/assets/javascripts/highcharts/themes/dark-blue.js +262 -267
- data/vendor/assets/javascripts/highcharts/themes/dark-green.js +262 -267
- data/vendor/assets/javascripts/highcharts/themes/gray.js +262 -262
- data/vendor/assets/javascripts/highcharts/themes/grid.js +96 -97
- metadata +8 -8
@@ -1,97 +1,96 @@
|
|
1
|
-
/**
|
2
|
-
* Grid theme for Highcharts JS
|
3
|
-
* @author Torstein Hønsi
|
4
|
-
*/
|
5
|
-
|
6
|
-
Highcharts.theme = {
|
7
|
-
colors: ['#058DC7', '#50B432', '#ED561B', '#DDDF00', '#24CBE5', '#64E572', '#FF9655', '#FFF263', '#6AF9C4'],
|
8
|
-
chart: {
|
9
|
-
backgroundColor: {
|
10
|
-
linearGradient: [0, 0, 500, 500],
|
11
|
-
stops: [
|
12
|
-
[0, 'rgb(255, 255, 255)'],
|
13
|
-
[1, 'rgb(240, 240, 255)']
|
14
|
-
]
|
15
|
-
}
|
16
|
-
,
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
1
|
+
/**
|
2
|
+
* Grid theme for Highcharts JS
|
3
|
+
* @author Torstein Hønsi
|
4
|
+
*/
|
5
|
+
|
6
|
+
Highcharts.theme = {
|
7
|
+
colors: ['#058DC7', '#50B432', '#ED561B', '#DDDF00', '#24CBE5', '#64E572', '#FF9655', '#FFF263', '#6AF9C4'],
|
8
|
+
chart: {
|
9
|
+
backgroundColor: {
|
10
|
+
linearGradient: [0, 0, 500, 500],
|
11
|
+
stops: [
|
12
|
+
[0, 'rgb(255, 255, 255)'],
|
13
|
+
[1, 'rgb(240, 240, 255)']
|
14
|
+
]
|
15
|
+
},
|
16
|
+
borderWidth: 2,
|
17
|
+
plotBackgroundColor: 'rgba(255, 255, 255, .9)',
|
18
|
+
plotShadow: true,
|
19
|
+
plotBorderWidth: 1
|
20
|
+
},
|
21
|
+
title: {
|
22
|
+
style: {
|
23
|
+
color: '#000',
|
24
|
+
font: 'bold 16px "Trebuchet MS", Verdana, sans-serif'
|
25
|
+
}
|
26
|
+
},
|
27
|
+
subtitle: {
|
28
|
+
style: {
|
29
|
+
color: '#666666',
|
30
|
+
font: 'bold 12px "Trebuchet MS", Verdana, sans-serif'
|
31
|
+
}
|
32
|
+
},
|
33
|
+
xAxis: {
|
34
|
+
gridLineWidth: 1,
|
35
|
+
lineColor: '#000',
|
36
|
+
tickColor: '#000',
|
37
|
+
labels: {
|
38
|
+
style: {
|
39
|
+
color: '#000',
|
40
|
+
font: '11px Trebuchet MS, Verdana, sans-serif'
|
41
|
+
}
|
42
|
+
},
|
43
|
+
title: {
|
44
|
+
style: {
|
45
|
+
color: '#333',
|
46
|
+
fontWeight: 'bold',
|
47
|
+
fontSize: '12px',
|
48
|
+
fontFamily: 'Trebuchet MS, Verdana, sans-serif'
|
49
|
+
|
50
|
+
}
|
51
|
+
}
|
52
|
+
},
|
53
|
+
yAxis: {
|
54
|
+
minorTickInterval: 'auto',
|
55
|
+
lineColor: '#000',
|
56
|
+
lineWidth: 1,
|
57
|
+
tickWidth: 1,
|
58
|
+
tickColor: '#000',
|
59
|
+
labels: {
|
60
|
+
style: {
|
61
|
+
color: '#000',
|
62
|
+
font: '11px Trebuchet MS, Verdana, sans-serif'
|
63
|
+
}
|
64
|
+
},
|
65
|
+
title: {
|
66
|
+
style: {
|
67
|
+
color: '#333',
|
68
|
+
fontWeight: 'bold',
|
69
|
+
fontSize: '12px',
|
70
|
+
fontFamily: 'Trebuchet MS, Verdana, sans-serif'
|
71
|
+
}
|
72
|
+
}
|
73
|
+
},
|
74
|
+
legend: {
|
75
|
+
itemStyle: {
|
76
|
+
font: '9pt Trebuchet MS, Verdana, sans-serif',
|
77
|
+
color: 'black'
|
78
|
+
|
79
|
+
},
|
80
|
+
itemHoverStyle: {
|
81
|
+
color: '#039'
|
82
|
+
},
|
83
|
+
itemHiddenStyle: {
|
84
|
+
color: 'gray'
|
85
|
+
}
|
86
|
+
},
|
87
|
+
labels: {
|
88
|
+
style: {
|
89
|
+
color: '#99b'
|
90
|
+
}
|
91
|
+
}
|
92
|
+
};
|
93
|
+
|
94
|
+
// Apply the theme
|
95
|
+
var highchartsOptions = Highcharts.setOptions(Highcharts.theme);
|
96
|
+
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: highcharts-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.1.9
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,12 +9,12 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-
|
12
|
+
date: 2011-11-21 00:00:00.000000000 +01:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: railties
|
17
|
-
requirement: &
|
17
|
+
requirement: &70222008063260 !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
20
|
- - ~>
|
@@ -22,10 +22,10 @@ dependencies:
|
|
22
22
|
version: '3.1'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
|
-
version_requirements: *
|
25
|
+
version_requirements: *70222008063260
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
27
|
name: bundler
|
28
|
-
requirement: &
|
28
|
+
requirement: &70222008062620 !ruby/object:Gem::Requirement
|
29
29
|
none: false
|
30
30
|
requirements:
|
31
31
|
- - ~>
|
@@ -33,10 +33,10 @@ dependencies:
|
|
33
33
|
version: 1.0.0
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
|
-
version_requirements: *
|
36
|
+
version_requirements: *70222008062620
|
37
37
|
- !ruby/object:Gem::Dependency
|
38
38
|
name: rails
|
39
|
-
requirement: &
|
39
|
+
requirement: &70222008062160 !ruby/object:Gem::Requirement
|
40
40
|
none: false
|
41
41
|
requirements:
|
42
42
|
- - ~>
|
@@ -44,7 +44,7 @@ dependencies:
|
|
44
44
|
version: '3.1'
|
45
45
|
type: :development
|
46
46
|
prerelease: false
|
47
|
-
version_requirements: *
|
47
|
+
version_requirements: *70222008062160
|
48
48
|
description: Gem that includes Highcharts (Interactive JavaScript charts for your
|
49
49
|
web projects), in the Rails Asset Pipeline introduced in Rails 3.1
|
50
50
|
email:
|