pizza_chart 2.0.3 → 2.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/graph.rb +0 -35
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 75d5937dca0f0d434d285d05b8614801d4c733ce
4
- data.tar.gz: 14d9a0ba98837872af3f699f95453199302ea6a4
3
+ metadata.gz: b616f22674d8cec44f4ca60739026b7748fa2297
4
+ data.tar.gz: ba54697976552b66ac8efe48d06ab91e856abcf6
5
5
  SHA512:
6
- metadata.gz: 9e4a18b2cfad77ad585b6fa54f4447b821b257d88cef30ef244bac963eba89f2d56b487fafecb20e27b3a5f6cbcaabbcda3e24a32a93e359139da83259dbc15b
7
- data.tar.gz: faa0f750fecd0f02833ab9e8b2d7e0175e189c9a50e3c52a1e580555b6219c03309bc8cc4e71993bcc5bd19303573c7de1bbf57f4726680ad1bbf800d225f37a
6
+ metadata.gz: 8aa3e3ae0d680983ebc3ecf16960c4b3fe1e832ddffd730a7bf6ef09f73bb30aac651f379bcdc61848e87bdbba828d7314e36b181d6c582539d93a17ce1c16a2
7
+ data.tar.gz: 5a0326a2e34b0e07ff7df28e319262fe71a3f2b390a127a6a8a841efa2dc1b2cf5b9283940d8ce0bf3dbaf68b59dedfa8c966d5744478e03e48033b49eb5c4ac
@@ -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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pizza_chart
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.3
4
+ version: 2.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - 'Kishore Kumar '