views:

402

answers:

4

Given a Rails application on the server, what is the best charting/graphing solution for displaying dynamic, database driven charts/graph on a web page such as those available in Google Analytics.

An optimal solution would include components that can speak JSON back-and-forth with the Rails application via AJAX.

Thanks!

+3  A: 

Check Google Visualization API

OutputLogic
The google visualization API is slick and fits the bill EXCEPT that I cannot host the necessary javascript files locally. There is no way my client is going to let requests be made to files hosted on google. If I'm wrong that would be great as the library looks very nice.
wgpubs
+1  A: 

how about open flash plugin ; i have created some nice graphs with this http://pullmonkey.com/projects/open_flash_chart

philipth
open flash charts is intriguing. other options i've found include:* FusionCharts (http://www.fusioncharts.com/Default.asp)* Ziya (http://ziya.liquidrail.com/)Haven't committed to any one of these yet. Thanks for the link.
wgpubs
A: 

Take a look at amCharts.

Alan Mendelevich
nice solution but seems designed for ASP.NET
wgpubs
not at all. It's not related to ASP.NET in any way (except that there's a helper control for ASP.NET). There's also a third party wrapper class for RoR.
Alan Mendelevich
A: 

While many good solutions presented above, the best imho is FusionCharts

Including those suggested here, I rank the solution as follows:

  1. FusionCharts

  2. Open Flash Charts (plugin: http://pullmonkey.com/projects/open_flash_chart)

  3. Ziya LiquidRails (which runs on top of XML/SWF Charts)

The Google Visualization API is nice as well but not unless you're comfortable with everything running through their servers (which I doubt most are). Insofar as my #1 option goes above, the only downside is cost (though there is a free lite version as well).

Thanks again for all the suggestions made above.

wgpubs