pizza_chart 1.0.4 → 2.0.0

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 (2) hide show
  1. checksums.yaml +4 -4
  2. metadata +25 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f5abdea7af9d7dff965b7152f86d928aa89db018
4
- data.tar.gz: 6b67e3e689c7044b75c98584046f5793b7dcfff5
3
+ metadata.gz: d2cc9dc00c11e6497f9b2327977cb223cce9e445
4
+ data.tar.gz: ab11a0a660e201bada6ef3e156df72e4af2c5ec5
5
5
  SHA512:
6
- metadata.gz: 125655365bfb583431ffff470e84a16261a2f7fa06bb76cf5fd452f5e4a24cbe1939e5902fe4a7ed4506c23b79c0a3b83ad20bad4b3f24456d0e981258073a70
7
- data.tar.gz: 98287d8348dba7e5135a905bd0ba63d4d2a91237f912a12d755a1a956a5ffc566da88da831e828d3a2e7fe19fc63283cc45fc8b41870fe977eccf24f4a9a5b9b
6
+ metadata.gz: af5eaed4cbe8ce31c9937b168cbb4be3e442426faca7c8151efb5f20370c10b18f1b6a5fbe271f6689cbbf538f5fd206ff95b611aefe92d6a0b073f983f567c9
7
+ data.tar.gz: 9ee1940a00f6ec828a37f8dfd4445e46c4eb752136a9b23ef15a20d81477996cd748dc9384951b89f3b468df2fe0146abf641287d8a0c2335e0e6670cb231291
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pizza_chart
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - 'Kishore Kumar '
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-22 00:00:00.000000000 Z
11
+ date: 2017-03-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -66,9 +66,29 @@ dependencies:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
- description: |-
70
- returns the object of graph controller,
71
- This gem depends on the lazy high charts gem.
69
+ description: "Hi all, \nThis gem customizes the existing gem => lazy high charts and
70
+ depends on the lazy high charts gem.\nStep 1 : Please include this gem with 'lazy_high_charts'
71
+ gem in your gemfile, which is dependent on it. \n\ngem 'lazy_high_charts'\ngem 'pizza_chart'\n\nStep
72
+ 2 : And inculde below items in appliction.js file of app->assets->javascript\n//=
73
+ require jquery\n//= require jquery_ujs\n//= require_tree .\n//= require turbolinks\n//=
74
+ require highcharts/highcharts\n//= require highcharts/highcharts-more\n//= require
75
+ highcharts/highstock\n\nStep 3: Bundel install\n\nStep 4: Then in controller, add
76
+ below \n\ndef index\nx_axis_name = ['chicken', 'pepporoni', 'ham'] \n#x axis variable
77
+ which you would like to see\ny_axis_data_1 = [4,5,6]\n#data to be shown in the bar\ny_axis_name_1
78
+ = original price \n#name on top the bar\ny_axis_data_2 = [1,2,3] \n#another array
79
+ of data to be shown in the bar with comparision to data 1\ny_axis_name_2 = offered
80
+ price\n#name on top the bar\nchart_type = bar\n#chart type which you would like
81
+ to see for the data. \n#Available mothods of Charts are : pie, line, bar and spline\n\n#pass
82
+ the required values, this method returns the object of graph controller\n#for single
83
+ array data\n@chart = Charting.singlechart(x_name, y_data_1, y_name_1, chart_type)\n
84
+ \ \n#for two array data\n@chart = Charting.doublechart(x_axis_name, y_axis_data_1,
85
+ y_axis_name_1, y_axis_data_2, y_axis_name_2, chart_type)\n\n#for three array data\n@chart
86
+ = Charting.multichart(x_name, y_data_1, y_name_1, y_data_2, y_name_2, y_data_3,
87
+ y_name_3, chart_type)\n\n#for two array data with combination of multi design chart
88
+ type\n@chart = Charting.function_chart(x_name, y_data_1, y_name_1, y_data_2, y_name_2,
89
+ chart_type)\n \nend\n\nStep 5: In you view just copy the below code and put qutoes
90
+ between your div id.\n<h1>Charts</h1>\n<%= high_chart(''div_id'', @chart) %>\n\nStep
91
+ 6: If not working, I am sorry. Google it out. Thanks for the visit. Good luck."
72
92
  email: spkishore007@gmail.com
73
93
  executables: []
74
94
  extensions: []