Skip to content

Commit

Permalink
Edited README.rdoc via GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
turadg committed Apr 15, 2011
1 parent 1620ddd commit 2f4b3d7
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions README.rdoc
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
=Seer
=Seer (R3)

Seer is a lightweight, semantically rich wrapper for the Google Visualization API. It allows you to easily create a visualization of data in a variety of formats, including area charts, bar charts, column charts, gauges, line charts, and pie charts.

Seer R3 is a fork with some updates for Rails 3 and the Google Visualization API.

==Usage

Add the following to the head of the page that will display a chart, or add it to your layout file:

<%= Seer::init_visualization -%>
<%= raw Seer::init_visualization -%>

Gather the data you want to visualize in an instance variable in your controller, then use the visualize method to insert the appropriate chart in your view.

Expand All @@ -22,7 +24,7 @@ In your view:

<div id="chart"></div>

<%= Seer::visualize(
<%= raw Seer::visualize(
@widgets,
:as => :bar_chart,
:in_element => 'chart',
Expand All @@ -48,4 +50,6 @@ A {sample project}[http://github.com/Bantik/seer_sample] that demonstrates each

Seer is developed and maintained by {Corey Ehmke}[http://www.idolhands.com/] at {SEO Logic}[http://www.seologic.com/].

Seer R3 is (so far) by Turadg Aleahmad.

Copyright (c) 2010 Corey Ehmke / SEO Logic, released under the MIT license

0 comments on commit 2f4b3d7

Please sign in to comment.