diff --git a/README.rdoc b/README.rdoc index b0c520f..3897724 100644 --- a/README.rdoc +++ b/README.rdoc @@ -1,21 +1,27 @@ = Overview -This is the GoogleVisualr reference site, written in Rails. +This is the GoogleVisualr API Reference site, written in Rails 3. To view this site: * Visit {http://googlevisualr.heroku.com}[http://googlevisualr.heroku.com] -* Clone this repository, and run this site locally with script/server +* Clone this repository, and run this site locally with rails s = Resources -* {Google Visualization API}[http://code.google.com/apis/visualization/documentation/] -* {GoogleVisualr Source}[http://github.com/winston/google_visualr] +* {Google Chart Tools}[http://code.google.com/apis/chart/index.html] +* {GoogleVisualr Source}[https://github.com/winston/google_visualr] + += Contributing + +Do you think you can write better documentation? Then help me improve this GoogleVisualr API Reference site! + +I welcome all pull requests for new or improved examples, or language fixes. Thanks in advance! = Author -GoogleVisualr is maintained by {Winston Teo}[mailto:winstonyw+googlevisualr@gmail.com], and his Ninja Penguin. +GoogleVisualr is maintained by {Winston Teo}[mailto:winstonyw+googlevisualr@gmail.com]. -Who is Winston Teo? Find out more on {WinstonYW}[http://www.winstonyw.com], {LinkedIn}[http://sg.linkedin.com/in/winstonyw], or {follow Winston on Twitter}[http://www.twitter.com/winstonyw]. +Who is Winston Teo? {You should follow Winston on Twitter}[http://www.twitter.com/winstonyw] or find out more on {WinstonYW}[http://www.winstonyw.com] and {LinkedIn}[http://sg.linkedin.com/in/winstonyw]. = License diff --git a/app/controllers/docs_controller.rb b/app/controllers/docs_controller.rb index c930dbb..7e67822 100644 --- a/app/controllers/docs_controller.rb +++ b/app/controllers/docs_controller.rb @@ -2,7 +2,7 @@ class DocsController < ApplicationController layout "default" - # http://code.google.com/apis/visualization/documentation/reference.html + # http://code.google.com/apis/chart/interactive/docs/reference.html def index ############################## @@ -23,7 +23,7 @@ def index end - # http://code.google.com/apis/visualization/documentation/reference.html#formatters + # http://code.google.com/apis/chart/interactive/docs/reference.html#formatters def formatters ############################## diff --git a/app/views/application/index.html.erb b/app/views/application/index.html.erb index eac6e50..3a20754 100644 --- a/app/views/application/index.html.erb +++ b/app/views/application/index.html.erb @@ -121,16 +121,32 @@
- The source of GoogleVisualr is available on <%= link_to "GitHub", "http://github.com/winston/google_visualr/" %>. Please feel free to clone/fork the project, and improve it further! + The source of GoogleVisualr is available on <%= link_to "GitHub", "https://github.com/winston/google_visualr/" %>. Please feel free to fork the project, make improvements or bug fixes and submit pull requests. + Ideally, all pull requests should also come with tests!
- Please submit all feedback, bugs and feature-requests to <%= link_to "GitHub Issues Tracker", "http://github.com/winston/google_visualr/issues" %>. + Please submit all feedback, bugs and feature-requests to <%= link_to "GitHub Issues Tracker", "https://github.com/winston/google_visualr/issues" %>. +
++ This GoogleVisualr API Reference site is also available on <%= link_to "GitHub", "https://github.com/winston/google_visualr_app" %>. + Do you think you can write better documentation? Then help me improve this site! +
++ I welcome all pull requests for new or improved examples, and even language fixes. Thanks in advance!
- Applies one or more formatters to the visualization to format the columns as specified by the formatter/s. + Applies one or more formatters to the data_table to format the columns as specified by the formatter/s.
- Generates JavaScript and renders the visualization in the final HTML output. + Generates JavaScript and renders the Google chart in the final HTML output.
diff --git a/app/views/docs/formatters.html.erb b/app/views/docs/formatters.html.erb index c52cbff..03052b0 100644 --- a/app/views/docs/formatters.html.erb +++ b/app/views/docs/formatters.html.erb @@ -25,7 +25,7 @@
- # Initialize and Set Width
+ # Initialize with Width Option
diff --git a/app/views/examples/image/spark_line.html.erb b/app/views/examples/image/spark_line.html.erb
index d5c344d..6428f91 100644
--- a/app/views/examples/image/spark_line.html.erb
+++ b/app/views/examples/image/spark_line.html.erb
@@ -26,7 +26,7 @@
formatter = GoogleVisualr::BarFormat.new( { :width => 150 } )
- In your view, use the to_js method to generate <%= link_to "JavaScript", "http://code.google.com/apis/chart/interactive/docs/gallery/image_spark_line.html#Example" %>, during rendering of the view. + In your view, use the to_js method to generate <%= link_to "JavaScript", "http://code.google.com/apis/chart/interactive/docs/gallery/imagesparkline.html#Example" %>, during rendering of the view.
- Please refer to <%= link_to "Google's documentation", "http://code.google.com/apis/chart/interactive/docs/gallery/geo_chart.html" %> for details on Data Format and Configuration Options. However, Methods and Events are not implemented. + Please refer to <%= link_to "Google's documentation", "http://code.google.com/apis/chart/interactive/docs/gallery/geochart.html" %> for details on Data Format and Configuration Options. However, Methods and Events are not implemented.
- In your view, use the to_js method to generate <%= link_to "JavaScript", "http://code.google.com/apis/chart/interactive/docs/gallery/gauge.html#Example" %>, during rendering of the view. + In your view, use the to_js method to generate <%= link_to "JavaScript", "http://code.google.com/apis/chart/interactive/docs/gallery/geochart.html#Example" %>, during rendering of the view.
- In your view, use the to_js method to generate <%= link_to "JavaScript", "http://code.google.com/apis/chart/interactive/docs/gallery/intensity_map.html#Example" %>, during rendering of the view. + In your view, use the to_js method to generate <%= link_to "JavaScript", "http://code.google.com/apis/chart/interactive/docs/gallery/intensitymap.html#Example" %>, during rendering of the view.
- In your view, use the to_js method to generate <%= link_to "JavaScript", "http://code.google.com/apis/chart/interactive/docs/gallery/line_chart.html#Example" %>, during rendering of the view. + In your view, use the to_js method to generate <%= link_to "JavaScript", "http://code.google.com/apis/chart/interactive/docs/gallery/linechart.html#Example" %>, during rendering of the view.
- In your view, use the to_js method to generate <%= link_to "JavaScript", "http://code.google.com/apis/chart/interactive/docs/gallery/motion_chart.html#Example" %>, during rendering of the view. + In your view, use the to_js method to generate <%= link_to "JavaScript", "http://code.google.com/apis/chart/interactive/docs/gallery/motionchart.html#Example" %>, during rendering of the view.
- In your view, use the to_js method to generate <%= link_to "JavaScript", "http://code.google.com/apis/chart/interactive/docs/gallery/org_chart.html#Example" %>, during rendering of the view. + In your view, use the to_js method to generate <%= link_to "JavaScript", "http://code.google.com/apis/chart/interactive/docs/gallery/orgchart.html#Example" %>, during rendering of the view.
- In your view, use the to_js method to generate <%= link_to "JavaScript", "http://code.google.com/apis/chart/interactive/docs/gallery/pie_chart.html#Example" %>, during rendering of the view. + In your view, use the to_js method to generate <%= link_to "JavaScript", "http://code.google.com/apis/chart/interactive/docs/gallery/piechart.html#Example" %>, during rendering of the view.
- In your view, use the to_js method to generate <%= link_to "JavaScript", "http://code.google.com/apis/chart/interactive/docs/gallery/scatter_chart.html#Example" %>, during rendering of the view. + In your view, use the to_js method to generate <%= link_to "JavaScript", "http://code.google.com/apis/chart/interactive/docs/gallery/scatterchart.html#Example" %>, during rendering of the view.