highcharts-rails 3.0.10 → 4.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -247,7 +247,7 @@ Highcharts.theme = {
247
247
 
248
248
  // special colors for some of the demo examples
249
249
  legendBackgroundColor: 'rgba(48, 48, 48, 0.8)',
250
- legendBackgroundColorSolid: 'rgb(70, 70, 70)',
250
+ background2: 'rgb(70, 70, 70)',
251
251
  dataLabelsColor: '#444',
252
252
  textColor: '#E0E0E0',
253
253
  maskColor: 'rgba(255,255,255,0.3)'
@@ -0,0 +1,74 @@
1
+ /**
2
+ * Grid-light theme for Highcharts JS
3
+ * @author Torstein Honsi
4
+ */
5
+
6
+ // Load the fonts
7
+ Highcharts.createElement('link', {
8
+ href: 'http://fonts.googleapis.com/css?family=Dosis:400,600',
9
+ rel: 'stylesheet',
10
+ type: 'text/css'
11
+ }, null, document.getElementsByTagName('head')[0]);
12
+
13
+ Highcharts.theme = {
14
+ colors: ["#7cb5ec", "#f7a35c", "#90ee7e", "#7798BF", "#aaeeee", "#ff0066", "#eeaaee",
15
+ "#55BF3B", "#DF5353", "#7798BF", "#aaeeee"],
16
+ chart: {
17
+ backgroundColor: null,
18
+ style: {
19
+ fontFamily: "Dosis, sans-serif"
20
+ }
21
+ },
22
+ title: {
23
+ style: {
24
+ fontSize: '16px',
25
+ fontWeight: 'bold',
26
+ textTransform: 'uppercase'
27
+ }
28
+ },
29
+ tooltip: {
30
+ borderWidth: 0,
31
+ backgroundColor: 'rgba(219,219,216,0.8)',
32
+ shadow: false
33
+ },
34
+ legend: {
35
+ itemStyle: {
36
+ fontWeight: 'bold',
37
+ fontSize: '13px'
38
+ }
39
+ },
40
+ xAxis: {
41
+ gridLineWidth: 1,
42
+ labels: {
43
+ style: {
44
+ fontSize: '12px'
45
+ }
46
+ }
47
+ },
48
+ yAxis: {
49
+ minorTickInterval: 'auto',
50
+ title: {
51
+ style: {
52
+ textTransform: 'uppercase'
53
+ }
54
+ },
55
+ labels: {
56
+ style: {
57
+ fontSize: '12px'
58
+ }
59
+ }
60
+ },
61
+ plotOptions: {
62
+ candlestick: {
63
+ lineColor: '#404048'
64
+ }
65
+ },
66
+
67
+
68
+ // General
69
+ background2: '#F0F0EA'
70
+
71
+ };
72
+
73
+ // Apply the theme
74
+ Highcharts.setOptions(Highcharts.theme);
@@ -0,0 +1,101 @@
1
+ /**
2
+ * Sand-Signika theme for Highcharts JS
3
+ * @author Torstein Honsi
4
+ */
5
+
6
+ // Load the fonts
7
+ Highcharts.createElement('link', {
8
+ href: 'http://fonts.googleapis.com/css?family=Signika:400,700',
9
+ rel: 'stylesheet',
10
+ type: 'text/css'
11
+ }, null, document.getElementsByTagName('head')[0]);
12
+
13
+ // Add the background image to the container
14
+ Highcharts.wrap(Highcharts.Chart.prototype, 'getContainer', function (proceed) {
15
+ proceed.call(this);
16
+ this.container.style.background = 'url(http://www.highcharts.com/samples/graphics/sand.png)';
17
+ });
18
+
19
+
20
+ Highcharts.theme = {
21
+ colors: ["#f45b5b", "#8085e9", "#8d4654", "#7798BF", "#aaeeee", "#ff0066", "#eeaaee",
22
+ "#55BF3B", "#DF5353", "#7798BF", "#aaeeee"],
23
+ chart: {
24
+ backgroundColor: null,
25
+ style: {
26
+ fontFamily: "Signika, serif"
27
+ }
28
+ },
29
+ title: {
30
+ style: {
31
+ color: 'black',
32
+ fontSize: '16px',
33
+ fontWeight: 'bold'
34
+ }
35
+ },
36
+ subtitle: {
37
+ style: {
38
+ color: 'black'
39
+ }
40
+ },
41
+ tooltip: {
42
+ borderWidth: 0
43
+ },
44
+ legend: {
45
+ itemStyle: {
46
+ fontWeight: 'bold',
47
+ fontSize: '13px'
48
+ }
49
+ },
50
+ xAxis: {
51
+ labels: {
52
+ style: {
53
+ color: '#6e6e70'
54
+ }
55
+ }
56
+ },
57
+ yAxis: {
58
+ labels: {
59
+ style: {
60
+ color: '#6e6e70'
61
+ }
62
+ }
63
+ },
64
+ plotOptions: {
65
+ series: {
66
+ shadow: true
67
+ },
68
+ candlestick: {
69
+ lineColor: '#404048'
70
+ }
71
+ },
72
+
73
+ // Highstock specific
74
+ navigator: {
75
+ xAxis: {
76
+ gridLineColor: '#D0D0D8'
77
+ }
78
+ },
79
+ rangeSelector: {
80
+ buttonTheme: {
81
+ fill: 'white',
82
+ stroke: '#C0C0C8',
83
+ 'stroke-width': 1,
84
+ states: {
85
+ select: {
86
+ fill: '#D0D0D8'
87
+ }
88
+ }
89
+ }
90
+ },
91
+ scrollbar: {
92
+ trackBorderColor: '#C0C0C8'
93
+ },
94
+
95
+ // General
96
+ background2: '#E0E0E8'
97
+
98
+ };
99
+
100
+ // Apply the theme
101
+ Highcharts.setOptions(Highcharts.theme);
@@ -1,3 +1,3 @@
1
1
  module Highcharts
2
- VERSION = "3.0.10"
2
+ VERSION = "4.0.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: highcharts-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.10
4
+ version: 4.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Per Christian B. Viken
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-11 00:00:00.000000000 Z
11
+ date: 2014-04-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -66,6 +66,7 @@ files:
66
66
  - LICENSE
67
67
  - README.markdown
68
68
  - Rakefile
69
+ - app/assets/images/highcharts/meteogram-symbols-30px.png
69
70
  - app/assets/images/highcharts/skies.jpg
70
71
  - app/assets/images/highcharts/snow.png
71
72
  - app/assets/images/highcharts/sun.png
@@ -73,6 +74,7 @@ files:
73
74
  - app/assets/javascripts/highcharts/adapters/mootools-adapter.js
74
75
  - app/assets/javascripts/highcharts/adapters/prototype-adapter.js
75
76
  - app/assets/javascripts/highcharts/adapters/standalone-framework.js
77
+ - app/assets/javascripts/highcharts/highcharts-3d.js
76
78
  - app/assets/javascripts/highcharts/highcharts-more.js
77
79
  - app/assets/javascripts/highcharts/modules/annotations.js
78
80
  - app/assets/javascripts/highcharts/modules/canvas-tools.js
@@ -83,10 +85,14 @@ files:
83
85
  - app/assets/javascripts/highcharts/modules/heatmap.js
84
86
  - app/assets/javascripts/highcharts/modules/map.js
85
87
  - app/assets/javascripts/highcharts/modules/no-data-to-display.js
88
+ - app/assets/javascripts/highcharts/modules/solid-gauge.js
86
89
  - app/assets/javascripts/highcharts/themes/dark-blue.js
87
90
  - app/assets/javascripts/highcharts/themes/dark-green.js
91
+ - app/assets/javascripts/highcharts/themes/dark-unica.js
88
92
  - app/assets/javascripts/highcharts/themes/gray.js
93
+ - app/assets/javascripts/highcharts/themes/grid-light.js
89
94
  - app/assets/javascripts/highcharts/themes/grid.js
95
+ - app/assets/javascripts/highcharts/themes/sand-signika.js
90
96
  - app/assets/javascripts/highcharts/themes/skies.js
91
97
  - highcharts-rails.gemspec
92
98
  - lib/highcharts-rails.rb
metadata.gz.asc CHANGED
@@ -2,17 +2,17 @@
2
2
  Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
3
3
  Comment: GPGTools - http://gpgtools.org
4
4
 
5
- iQIcBAABAgAGBQJTHr6JAAoJEH1ncb0Txu7XTCEP+gOjIMHaFGDvK98B4g03ohZL
6
- PceG6Qy3SZXU4m0dUNmwcm1lNIDbDrd3zz5x8WGq8JOPF9NNoGt7x8UcLQdtzAsF
7
- aEoFTjuyenqgUXbEfAp000oJMcU+vdw6c2Oxh7ayX69X/JasbJDE7lTa1S442b/j
8
- YdNI5qqSyiPAvB0EDPlkWhF/QegBzLWDV+pdYi4di1bufn4f7WxpZaBN/+A1ZX9F
9
- TjxBRRrelnx0hUDi/GfjpnPN38wlluMoO9q7r+KvWfxcPfsaYGtX0SofRcIeul6L
10
- /gokmitKUfUUF3t9cR1VaF15Uv9EqG3Hm6zzQ1jSKj2++r2irX0nHUkPasSaQqLp
11
- O4A+TNUjmJ0uTed9TibZBxACd24c4MJuFr4bW20aDAZNF8oWAhwfvPP8H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