Re: Best module for generating Pie Charts and Bar Graphs
by Caron (Friar) on Jan 31, 2004 at 06:29 UTC
|
Here's another choice: DBD::chart
I don't know if it's the best, but it's surely one more to check out. It works like any DBD, as a DBI extension. Therefore, if you are already using a DBD module, you know already the interface.
Here are some examples.
| [reply] |
|
Thanks for the excellent examples link Caron. I had read the docs for DBD::chart earlier today, and it looked interesting. Now that I'm also seeing the DBIx::Chart docs, the possibilities look very interesting.
I'll have to keep an eye on these projects, but for now, I think the GD::Chart stuff is probably going to suit my needs better.
| [reply] |
Re: Best module for generating Pie Charts and Bar Graphs
by jweed (Chaplain) on Jan 31, 2004 at 01:27 UTC
|
Since this is a web-based question, Apache::GD::Graph is optimal if you are using apache (duh). GD::Graph is the other basic graph module, but its implementation is not as lightweight as the Apache module, so if the graphs are generated dynamically, there will be slightly more overhead.
As for the other modules question, the answer is "Not Really." Frankly, GD::Graph is the end-all, be-all of graphing modules and is really useful almost anywhere.
HTH.
| [reply] |
|
Frankly, GD::Graph is the end-all, be-all of graphing modules and is really useful almost anywhere.
That's the kind of answer I was looking for. Of course, I'll be running mod_perl, so Apache::GD::Graph will likely be what I will use. Thanks for the advice!
| [reply] |
|
GD::Graph is great but I became somewhat annoyed by its limitations. Lately I've been using ChartDirector, it gives you absolute control over every detail. It is commercial software, however.
| [reply] |
Re: Best module for generating Pie Charts and Bar Graphs
by borisz (Canon) on Jan 31, 2004 at 12:30 UTC
|
Nobody recommended Imager so far. It produces nery nice graphics much nicer than GD but needs big ram and cpu power.
| [reply] |
Re: Best module for generating Pie Charts and Bar Graphs
by stefp (Vicar) on Jan 31, 2004 at 18:01 UTC
|
ploticus is an excellent tool to generate all sorts of charts. It is a dedicated scripting language. You certainly can produce ploticus scripts using Perl.
| [reply] |
Re: Best module for generating Pie Charts and Bar Graphs
by Ao (Friar) on Jan 31, 2004 at 04:34 UTC
|
There's also PNGgraph, but it's not specifically designed for on-the-fly web generation so it would require more coding from you than Apache::GD::Graph would.
Is there some particular reason you are requiring PNG format instead of allowing some other browser-safe format? | [reply] |
|
| [reply] |
|
PNG's cool for browsers. Really cool.
That IE hack sure does have some UGLY code, though. I much prefer the way Mozilla/Firebird handle things.
| [reply] |
|
Is there some particular reason you are requiring PNG format instead of allowing some other browser-safe format?
I'm working on graphs and charts for an intranet site. Everybody at this very small company uses the latest and greatest browsers. The can all handle PNG. And then I just kind of prefer it, too. ;-)
| [reply] |