jyrcija / google-charts-on-rails

Automatically exported from code.google.com/p/google-charts-on-rails
MIT License
0 stars 0 forks source link

how to use it in a view #12

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Add an example of how it can be called in a rails view
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by georg...@gmail.com on 23 Jul 2008 at 11:13

GoogleCodeExporter commented 9 years ago
I am afraid this is not a valid issue ticket. Anyway to use it in a view, use
something like this:

image_tag(GoogleChart.pie(10,20,40,30).to_url,:alt => "Stuff")

Please check the project home on more usage. 

Original comment by bragha...@gmail.com on 23 Jul 2008 at 11:58