Re: [Boston.pm] Pretty Graphs with Perl

2005-12-07 Thread Alex Brelsfoard
OK, so I now have the graph being built and being displayed in my html through an image tag. I'm still trying out GD::Graph printing through an IMG tag calling my script for now. I will try other methods next. However, I'm having some difficulty putting dynamic data into the plots. For example.

Re: [Boston.pm] Pretty Graphs with Perl

2005-12-07 Thread Ronald J Kimball
On Wed, Dec 07, 2005 at 09:39:45AM -0500, Alex Brelsfoard wrote: my $ds=1; # dataset counter # go through each dataset one at a time. foreach my $dataset(split(/::/, $param{'x'})) { my $i=0; # Go through each item in the dataset foreach my $num (split(/,/, $dataset)) {

Re: [Boston.pm] Pretty Graphs with Perl

2005-12-07 Thread Alex Brelsfoard
Just replacing my dataset collection method with your dataset collection method seems to have fixed things up. Wonderful. Now I can really get testing! Thanks all. --Alex On 12/7/05, Ronald J Kimball [EMAIL PROTECTED] wrote: On Wed, Dec 07, 2005 at 09:39:45AM -0500, Alex Brelsfoard wrote:

Re: [Boston.pm] Pretty Graphs with Perl

2005-12-06 Thread Chris Devers
On Tue, 6 Dec 2005, Alex Brelsfoard wrote: I've got a project coming up that's going to need me to make graphs. I do not yet know what kind of graph (dot, line, bar, etc.). But I am told that it needs to be pretty (and probably with multiple colors). The data needing to be displayed

Re: [Boston.pm] Pretty Graphs with Perl

2005-12-06 Thread johns
hi ( 05.12.06 09:26 -0500 ) Alex Brelsfoard: But I was wondering if you all had any better suggestions. Are there any good, friendly, tested modules for this sort of thing? despite the somewhat dismissive comment put forth in the SVG discussion, GD::Graph is quite workable, and can return

Re: [Boston.pm] Pretty Graphs with Perl

2005-12-06 Thread malia, sean
, December 06, 2005 10:45 AM To: Ronald J Kimball Cc: boston-pm@mail.pm.org Subject: Re: [Boston.pm] Pretty Graphs with Perl Th only problem is that I am going to need to create different dataset and graph them on the fly. Writing files out and then shelling doesn't quite sound like the most efficient

Re: [Boston.pm] Pretty Graphs with Perl

2005-12-06 Thread Ann Barcomb
Alex wrote: Th only problem is that I am going to need to create different dataset and graph them on the fly. Writing files out and then shelling doesn't quite sound like the most efficient way of doing things. Or am I missing things? Basically I will have a HUGE collection of data to pull

Re: [Boston.pm] Pretty Graphs with Perl

2005-12-06 Thread Tal Cohen
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alex Brelsfoard Sent: Tuesday, December 06, 2005 4:02 PM To: Ricker, William Cc: boston-pm@mail.pm.org; Richard J. Barbalace Subject: Re: [Boston.pm] Pretty Graphs with Perl Does anyone who has/does use GD::Graph know if there's an easy way to embed

Re: [Boston.pm] Pretty Graphs with Perl

2005-12-06 Thread Ben Tilly
On 12/6/05, Alex Brelsfoard [EMAIL PROTECTED] wrote: Does anyone who has/does use GD::Graph know if there's an easy way to embed the output graphs into HTML. Basically I'd like to be able to print a bunch of HTML, then the graph, then some more HTML. I've got the grph coming out all fine and

Re: [Boston.pm] Pretty Graphs with Perl

2005-12-06 Thread Ricker, William
Does anyone who has/does use GD::Graph know if there's an easy way to embed the output graphs into HTML. Basically I'd like to be able to print a bunch of HTML, then the graph, then some more HTML. [WDR] The basic techniques are to either (a) img href=../graphs/123456789.png Generate

Re: [Boston.pm] Pretty Graphs with Perl

2005-12-06 Thread Ronald J Kimball
On Tue, Dec 06, 2005 at 04:28:30PM -0500, Ricker, William wrote: (a) img href=../graphs/123456789.png Generate the graph to a 2nd file named with a random number (for security) or a serial number (if no security needed) (b) img

Re: [Boston.pm] Pretty Graphs with Perl

2005-12-06 Thread Ann Barcomb
On Tue, 6 Dec 2005, Ricker, William wrote: (b) img href=/scripts/imagemaker?x=17y=42title=%22Foo%20Bar%22xname=Xyname= Y Put the code that decides what to do from the Request in a module, and call it from both the CGI or action module that generates the HTML page (which generates the img