Class Fusioncharts::AjaxExampleController
In: app/controllers/fusioncharts/ajax_example_controller.rb
Parent: ApplicationController

Example controller to show the usage of FusionCharts with ajax

Methods

Public Instance methods

The data for the first chart is obtained and used in the corresponding builder and view files

This action is called from the javascript function updateChart via ajax Expects the request parameter factory_id. Finds the details for the requested factory This data is then used by the corresponding view. The view renders the chart using the object tag.

[Validate]