Skip to main content

Posts

Showing posts with the label overlay graphs in grails

Overlay Graphs in Grails Application - Open Flash Chart

Ofchart plugin available for Grails, makes it is easy to integrate Open Flash Chart. The plugin can be downloaded from http://grails.org/plugin/ofchart The documentation is available at http://mybytes.wordpress.com/2009/03/09/grails-open-flash-chart-06-is-out/ Though the Open Flash Chart has number of chart options - ofchart plugin documentation has limited information. I believe the documentation work is in progress and may be available anytime soon. An inquisitive mind can experiment and try to accomplish most of the features in Open Flash Chart. Best place to start is to read the API documentation A simple example I tried - overlaying a Bar chart and Line chart on a single Chart. It requires a Grails controller and a GSP as listed below. We can include the "action" to render the chart in any of your existing controllers.