Mark A. Fuller wrote:
From: Jason Purdy <suppressed>what comes to mind is using the GD::Graph package to output a PNG fileThe src attribute of the img element can refer to a CGI which emits PNG (or whatever) content. Look at Yahoo's stock graphs. The HTML img element is attributed: src="http://ichart.yahoo.com/t?s=MOT That's useful if you want the charts to be realtime. If they only change once a day, then you might schedule their creation and refer to static images.
I like that and I would like the charts to be realtime. This could work nicely in the cgiapp with one runmode to put together the template and another runmode to output the PNG file.
The only problem I see is that I would have to gather the data twice, one for the first template, which has the data in plain ol' text and another time to put together the PNG file.
I guess I could do some magic footwork by having the first runmode output a Storable file w/ the data structure frozen and then the second runmode could thaw that.
Jason
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/suppressed/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.