Article: Amazing Charts In Rails
In this article, Srividya Sharma provides an introduction to FusionCharts Free, a Flash charting library, and shows how to use it from Ruby.
Next to a complete sample application showing how to implement Flash charts in a Ruby on Rails application, the article also contains a thorough comparison of FusionCharts (Free and Paid versions) with other charting solutions.
Using Flash is just one way of providing charts to the user; InfoQ previously ran an article on using Google Charts with Ruby. While the Google Charts solution offloads the rendering of the charts to Google's servers, the FusionCharts solution allows to render the data on the server and avoid the dependence on a third party.
Read Srividya Sharma on "Amazing Charts In Rails".
JS approach
by
Anselmo da Silva
The point is Data-Visualization, and here, you could include in your analyze, the "Javascript Canvas" approach.
As js engines getting faster, the use of this canvas element becomes even more interesting. The caveat is the no-direct-support in IE.
We use the approach in controlled client environments, and it results to be an elegant solution, with simple deploy and control.
Some references:
Flot: code.google.com/p/flot/
Protochart: www.deensoft.com/lab/protochart/
PlotKit: www.liquidx.net/plotkit/
Thanks for your sharing
Anselmo
twitter.com/anselmo
Re: JS approach
by
Werner Schuster
thanks for the links - definitely an approach to watch.
BTW we also featured an article on using Google Charts from Ruby:
www.infoq.com/articles/bass-google-charts-gchartrb
which has neither client nor serverside dependencies, but of course you'll tie yourself to Google's servers.
Re: JS approach
by
Anselmo da Silva
jsxgrap => jsxgraph.uni-bayreuth.de/cms/index.php?page=exa...
Over OFC2?
by
Jonathan Calvert
But anyway, there is one real problem with Flash based charting as opposed to server side image compilation, and that's handling large data sets(10s or 100s of thousands of data points) for scatter plots.
Ezgraphix Plugin.
by
Juan Esteban Pemberthy
github.com/jpemberthy/ezgraphix/tree/master
Documentation and a live demo are listed in the project's readme, it's still a basic plugin but Im thinkin in making a second version supporting more charts.
Enjoy it.
Re: Over OFC2?
by
Srividya Sharma
Of course, upgrading to FusionCharts v3 opens a new set of benefits like more chart types, maps, power charts, visual debugger and not to mention the personal support.
Re: JS approach
by
Jerven Bolleman
www.jfree.org/eastwood/
Gruff has no scatterplott-charts (but gnuplot)
by
Oliver Haag
Instead FusionCharts indeed is a good solution for simple scattercharts. For really komplex data I prefer something not on the list: gunplot with the rgplot ruby wrapper.
- gnuplot.sourceforge.net/
- rgplot.rubyforge.org/
Hope it helps.
Oliver
Educational Content
Clojure in the Field
Stuart Halloway May 23, 2013
Tuning the Size of Your Thread Pool
Kirk Pepperdine May 23, 2013




Hello stranger!
You need to Register an InfoQ account or Login to post comments. But there's so much more behind being registered.Get the most out of the InfoQ experience.
Tell us what you think