pizza_chart 2.0.3 → 2.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/graph.rb +0 -35
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b616f22674d8cec44f4ca60739026b7748fa2297
|
4
|
+
data.tar.gz: ba54697976552b66ac8efe48d06ab91e856abcf6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8aa3e3ae0d680983ebc3ecf16960c4b3fe1e832ddffd730a7bf6ef09f73bb30aac651f379bcdc61848e87bdbba828d7314e36b181d6c582539d93a17ce1c16a2
|
7
|
+
data.tar.gz: 5a0326a2e34b0e07ff7df28e319262fe71a3f2b390a127a6a8a841efa2dc1b2cf5b9283940d8ce0bf3dbaf68b59dedfa8c966d5744478e03e48033b49eb5c4ac
|
data/lib/graph.rb
CHANGED
@@ -83,39 +83,4 @@ module Charting
|
|
83
83
|
end
|
84
84
|
end
|
85
85
|
|
86
|
-
# def self.function_chart(x_name, y_data_1, y_name_1, y_data_2, y_name_2, chart_type)
|
87
|
-
#x_name = "Actual Price"
|
88
|
-
#y_name = "Offer Price"
|
89
|
-
#x_axis_variables = x_array
|
90
|
-
#y_axis_variables = y_array
|
91
|
-
#food_name = Food.select("foodName").group_by{|o| o.foodName}.keys
|
92
|
-
# if (chart_type) then
|
93
|
-
# case chart_type
|
94
|
-
# when "pie"
|
95
|
-
# h='pie'
|
96
|
-
# when "bar"
|
97
|
-
# h='bar'
|
98
|
-
# when "line"
|
99
|
-
# h='line'
|
100
|
-
# when "spline"
|
101
|
-
# h='spline'
|
102
|
-
# end
|
103
|
-
# else
|
104
|
-
# h = 'bar'
|
105
|
-
# end
|
106
|
-
# @chart = LazyHighCharts::HighChart.new('graph') do |f|
|
107
|
-
# f.title(text: y_name_1 + " VS "+ y_name_2)
|
108
|
-
# f.xAxis(categories: x_name)
|
109
|
-
# f.series(name: y_name_1, yAxis: 0, data: y_data_1)
|
110
|
-
# f.series(:type=> h, name: y_name_2, yAxis: 1, data: y_data_2)
|
111
|
-
#
|
112
|
-
# f.yAxis [
|
113
|
-
# {title: {text: y_name_1, margin: 70} },
|
114
|
-
# {title: {text: y_name_2}, opposite: true},
|
115
|
-
# ]
|
116
|
-
#
|
117
|
-
# f.legend(align: 'right', verticalAlign: 'top', y: 75, x: -50, layout: 'vertical')
|
118
|
-
# f.chart({defaultSeriesType: "column"})
|
119
|
-
# end
|
120
|
-
#end
|
121
86
|
end
|