Re: GD::Graph::pie

2002-05-18 Thread Sisyphus
- Original Message - From: "steve silvers" <[EMAIL PROTECTED]> > I'm having problems getting this to work. > Thanks in advance. > Steve. > > Try this: use GD::Graph::pie; print "Content-Type: image/png\n\n"; @data = ( ["1st","2nd","3rd","4th","5th","6th"], [4,2,

Re: How can I timeout a MsgBox?

2002-05-18 Thread Jack
- Original Message - From: "Brian W Smith" <[EMAIL PROTECTED]> > I am trying to find a way to put up a Win32::MsgBox but have it timeout with > the default response. As there is no "timeout" argument I assume I must use > some other tool instead. Does anyone have any clues? Tk can do thi

Re: GD::Graph::pie

2002-05-18 Thread steve silvers
That was just a typo. I meant png. Anyways when I call this script from my browser I get prompted to download. Can someone please get this to work properly. I don't want it to create a static .png file somewhere, just to deliver one dynamically to the browser every time it is called. Thanks in

Re: GD::Graph::pie

2002-05-18 Thread Carl Jolley
On Sat, 18 May 2002, steve silvers wrote: > In the code snippet below i'm just looking to have it generate a .gif image > on the fly to the browser. I don't want it to write out the .gif file to a > directory. > > use GD::Graph::pie; > > print "Content-Type: image/png\n\n"; > > @data = ( > ["

Re: GD::Graph::pie

2002-05-18 Thread steve silvers
In the code snippet below i'm just looking to have it generate a .gif image on the fly to the browser. I don't want it to write out the .gif file to a directory. use GD::Graph::pie; print "Content-Type: image/png\n\n"; @data = ( ["1st","2nd","3rd","4th","5th","6th"], [4,2,

Re: How can I timeout a MsgBox?

2002-05-18 Thread Carl Jolley
I believe that the AutoIt control via Win32::OLE could do what you want. You'd probably have to fork off the code to do the timeout check if you are doing the Win32::MsgBox yourself. OTOH, you might be able to fork off regular perl code to do the timeout check w/o using AutoIt. In fact it might b

Re: GD::Graph::pie

2002-05-18 Thread Sisyphus
- Original Message - From: "steve silvers" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, May 18, 2002 9:56 PM Subject: GD::Graph::pie > I've been looking at the samples for this module and have them working fine. > But my question is, this creates actual .png, or .gif file

GD::Graph::pie

2002-05-18 Thread steve silvers
I've been looking at the samples for this module and have them working fine. But my question is, this creates actual .png, or .gif files. Is there a way to create a pie chart dynamically on the fly without having to write them to disk? Thanks in advance. Steve. ___