# db_example_controller.rb

Path: | app/controllers/fusioncharts/db_example_controller.rb
Last Update: | Fri Nov 21 13:48:00 +0530 2008

There are two examples in this controller. *Pie-chart for total ouput quantities of each factory by getting data from database and using dataXML method *Pie-chart for total ouput quantities of each factory and a link to another chart which gives detailed information for selected factory 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]