basic_example_controller.rb

Path: app/controllers/fusioncharts/basic_example_controller.rb
Last Update: Sat Nov 22 09:37:08 +0530 2008

Contains functions to generate chart by

  • adopting the dataURL method of FusionCharts and using render_chart function from the helper class.
  • adopting the dataXML method of FusionCharts and using render_chart function from the helper class.
  • adopting the dataURL method of FusionCharts and using render_chart_html function from the helper class.
  • adopting the dataXML method of FusionCharts and using render_chart_html function from the helper class.

Demonstrates the ease of generating charts using FusionCharts. All the views related to this controller will use the "common" layout. As per Ruby On Rails conventions, we have the corresponding views with the same name as the function name in the controller.

[Validate]