views:

175

answers:

5

Hi All,

I have need to produce LINE, BAR, and PIE charts in Rails. I have found several that do all these. However the one caveat is that I can never find a solution that does all as well as XY-SCATTER. I've looked at Gruff,Scruffy,Gnuplot, etc. and none of them do "everything". Can anyone recommend a local (i.e. doesn't require network connectivity) library that can accommodate? GoogleCharts isn't an option as some of this will occur on closed networks.

Best.

A: 

FusionCharts is pretty good if you don't have a problem with Flash.

John Topley
A: 

Open Flash Chart Plugin for Ruby on Rails - Graphs

marcgg
aaaarrrrrggggggggggh!!! domain/scoping issues with OFC. I already have a class named Chart and it wants to take it over. ;)
humble_coder
A: 

Have you checked Google charts? I'm not a web developer myself but it seems that, although not implemented in Rails, you can call the chart API and display the generated image.

Looking at the available chart types, it can give you all the types you want.

Edit: A search turned up this google-chart-on-rails wrapper.

mizipzor
Yes, but unless you acquire the "premium" version, you must have network access to use it.
humble_coder
Network access to google? Yes, I suppose. But I thought that wouldnt be a problem, wont your web application be connected?
mizipzor
No. This will be running on an intranet.
humble_coder
+2  A: 

If you don't mind commercial solutions, take a look at ChartDirector.

Lars Haugseth
I'm not necessarily opposed to commercial solutions, but it does need to give me something the others can't/don't..."support" aside.
humble_coder
A: 

I second the ChartDirector solution. It's fast, well documented and does not cost very much. I've been using CD for PHP and currently python.

mandrake
Feel free to second a suggestion by upvoting and adding a comment instead of making a duplicate answer. :)
Lars Haugseth
I would if I could... (Requires 50 rep)
mandrake