graphgraph 0.9.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 22a6f7b893735691da21b8316ac2341d7b86a67c
|
4
|
+
data.tar.gz: d52ea1e2d1b42fa9ef082ffb366615f4cafa3e03
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 35fa77dfa95df7629e4e8c9ce25787dac31b460ca169da4044d66e86fae6e0ec8c1740860f7ed6864d44f0e263470df69bad71b53b7b289d2964012001c14b24
|
7
|
+
data.tar.gz: 43d2778116ca2510af1f75748017ae571c506cf41e9667244f682e76d5efe015cde34a7067a4552847c25c376cae3f9d8b4cad8f674cbed1af5900ab7b12da15
|
Binary file
|
@@ -28,8 +28,11 @@ class <%= @scope_prefix %>GraphgraphsController < ApplicationController
|
|
28
28
|
set_areagraph
|
29
29
|
set_scattergraph
|
30
30
|
@mainchart=@chartline||@chartbar||@chartarea||@chartscatter
|
31
|
+
session[:options]=@mainchart.objects.to_s
|
32
|
+
session[:placeholder]=@mainchart.placeholder.to_s
|
33
|
+
session[:series_data]=@mainchart.series_data.to_s
|
31
34
|
#comment out below line and enter the user page path
|
32
|
-
# redirect_to replace_with_user_page_path
|
35
|
+
# redirect_to replace_with_user_page_path
|
33
36
|
end
|
34
37
|
end
|
35
38
|
|
@@ -256,11 +259,11 @@ class <%= @scope_prefix %>GraphgraphsController < ApplicationController
|
|
256
259
|
document.getElementById('datepickerforxview').style.display= \"none\";
|
257
260
|
});
|
258
261
|
</script>
|
259
|
-
<% if
|
262
|
+
<% if session[:options]!=nil %>
|
260
263
|
<% newchart=LazyHighCharts::HighChart.new() %>
|
261
|
-
<% newchart.options=eval(
|
262
|
-
<% newchart.placeholder=
|
263
|
-
<% newchart.series_data=eval(
|
264
|
+
<% newchart.options=eval(session[:options]) %>
|
265
|
+
<% newchart.placeholder=session[:placeholder] %>
|
266
|
+
<% newchart.series_data=eval(session[:series_data]) %>
|
264
267
|
<% if (\"#{params[:graphtype]}\"==\"Bar Graph\") %>
|
265
268
|
<%= high_chart(\"my_bar_div\", newchart) %>
|
266
269
|
<% end %>
|
data/lib/graphgraph/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: graphgraph
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Suhas Shrestha
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-11-
|
11
|
+
date: 2016-11-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -176,6 +176,7 @@ files:
|
|
176
176
|
- graphgraph-0.6.0.gem
|
177
177
|
- graphgraph-0.7.0.gem
|
178
178
|
- graphgraph-0.8.0.gem
|
179
|
+
- graphgraph-0.9.0.gem
|
179
180
|
- graphgraph.gemspec
|
180
181
|
- lib/generators/graphgraph/controllers_generator.rb
|
181
182
|
- lib/generators/graphgraph/install_generator.rb
|