graphgraph 0.8.0 → 0.9.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: 7f594b121db1bc7da68549ed05fcf476c56530b5
|
4
|
+
data.tar.gz: e4c45cc3604f226544d0c9fa78495a7843ffeeee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f5b8246dc0781fb87ab9f16bdf3fd8e97fd34d277d473d45278d747169795b7344bd5f701aec3edafd232441b42b2bfc1f9e72079aae0c288bcc072a1a836c89
|
7
|
+
data.tar.gz: 048b90e327d54bdcc128f480000e9f3a7cf9a2dd6ddd8ffa1461e00897e5ef89b7d51d16f462175348694bdd79a8bbcc69adef65e381cd40d9566f3159d0592e
|
Binary file
|
@@ -4,7 +4,7 @@ class <%= @scope_prefix %>GraphgraphsController < ApplicationController
|
|
4
4
|
@scopeName= <%= @scope.capitalize %>
|
5
5
|
@testData= <%= @scope.capitalize %>.all
|
6
6
|
@columnNames = <%= @scope.capitalize %>.column_names
|
7
|
-
@columnHash =
|
7
|
+
@columnHash = <%= @scope.capitalize %>.columns_hash.each {|k,v| puts "#{k} => #{v.type}"}
|
8
8
|
@selectoptions =[]
|
9
9
|
@columnNames.each do |c|
|
10
10
|
@selectoptions << c.to_s + " : " + @columnHash[c].type.to_s
|
@@ -28,7 +28,8 @@ class <%= @scope_prefix %>GraphgraphsController < ApplicationController
|
|
28
28
|
set_areagraph
|
29
29
|
set_scattergraph
|
30
30
|
@mainchart=@chartline||@chartbar||@chartarea||@chartscatter
|
31
|
-
|
31
|
+
#comment out below line and enter the user page path
|
32
|
+
# redirect_to replace_with_user_page_path(options: @mainchart.objects.to_s, placeholder: @mainchart.placeholder.to_s, series_data: @mainchart.series_data.to_s)
|
32
33
|
end
|
33
34
|
end
|
34
35
|
|
@@ -217,8 +218,8 @@ class <%= @scope_prefix %>GraphgraphsController < ApplicationController
|
|
217
218
|
end
|
218
219
|
|
219
220
|
def set_user_template
|
220
|
-
|
221
|
-
@foruserencode="<%= form_tag(\"
|
221
|
+
#relplace the "replace_with_current_model" with your model name in plural
|
222
|
+
@foruserencode="<%= form_tag(\"/replace_with_current_model/graphgraph\", method: \"get\") do %>
|
222
223
|
<input type=\"text\" name=\"graphtype\" id=\"graphtype\" value=\"#{params[:graphtype]}\" hidden>
|
223
224
|
<input type=\"text\" name=\"yaxis\" id=\"yaxis\" value=\"#{params[:yaxis]}\" hidden>
|
224
225
|
<input type=\"text\" name=\"xaxis\" id=\"xaxis\" value=\"#{params[:xaxis]}\" hidden>
|
@@ -273,7 +274,8 @@ class <%= @scope_prefix %>GraphgraphsController < ApplicationController
|
|
273
274
|
<%= high_chart(\"my_scatter_div\", newchart) %>
|
274
275
|
<% end %>
|
275
276
|
<% end %>"
|
276
|
-
#
|
277
|
+
# comment out the below line after install
|
278
|
+
# @foruser=CGI.unescapeHTML(@foruserencode)
|
277
279
|
end
|
278
280
|
|
279
281
|
def get_counts(dateValue,pluckValue,startvalue,endvalue)
|
data/lib/graphgraph/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: graphgraph
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Suhas Shrestha
|
@@ -175,6 +175,7 @@ files:
|
|
175
175
|
- graphgraph-0.5.0.gem
|
176
176
|
- graphgraph-0.6.0.gem
|
177
177
|
- graphgraph-0.7.0.gem
|
178
|
+
- graphgraph-0.8.0.gem
|
178
179
|
- graphgraph.gemspec
|
179
180
|
- lib/generators/graphgraph/controllers_generator.rb
|
180
181
|
- lib/generators/graphgraph/install_generator.rb
|