# db_data_url_controller.rb

Path: | app/controllers/fusioncharts/db_data_url_controller.rb
Last Update: | Sun Nov 23 06:01:00 +0530 2008

This controller class shows how to render a pie-chart by retrieving factory name and total output quantity dynamically at run-time, from the database. setDataURL method is used here. As per Ruby On Rails conventions, we have the corresponding views with the same name as the function name in the controller.

[Validate]