Johnson, Shaunn wrote:

> I'd like to generate a graph / chart of data
> from my database.  For example, in a perl
> script, I'm doing a distinct count of a column
> in a table and get a list of stuff back.
> I want to take that data and maybe put it into
> an array.  From there, I'd like to figure out
> how to use THAT data and make a pie chart / 
> do some trending and post it as an HTML page.
> 
> Is this possible?  I see that GD is available,
> but I can't find any examples.  


i've used Chart::Graph::Gnuplot and it works very well.  you may have to 
play with it a little to get the hang of how to pass the data references 
to it, set up your axis labels, etc.

http://search.cpan.org/search?dist=Chart-Graph

note that you'll need to install gnuplot for this to work.  it's 
available here:

http://rpmfind.net/linux/rpm2html/search.php?query=gnuplot&submit=Search+...


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to