Page 1 of 1

Draw histogram via Web-enabled Application

Posted: Fri Aug 07, 2009 12:45 pm
by ConvertFromOldNGs
by tyc >> Fri, 7 Jan 2005 2:57:31 GMT

Hi
Does anybody have the experiance about drawing histogram via JADE Web-enabled application?
I'm wondering whether I can use WebJavaApplet class to do it and how to use WebJavaApplet.
I'd appreciated if anybody can give me some advice.

Scott
Bizpoint System Pte Ltd

Re: Draw histogram via Web-enabled Application

Posted: Fri Aug 07, 2009 12:45 pm
by ConvertFromOldNGs
by allistar >> Fri, 7 Jan 2005 9:43:35 GMT

You could draw the image of the graph in JADE using the native drawing methods (such as drawLine, drawRectangle etc) and then return that image to the browser. This can be done eithr by saving the image file on the webserver and pointing an "img" link to it or by streaming the image on the fly to the browser (without needing a temporary file). You can do the latter using JHP.

Regards,
Allistar.
--
------------------------------------------------------------------
Allistar Melville
Software Developer, Analyst allistar@silvermoon.co.nz
Auckland, NEW ZEALAND

Silvermoon Software
Specialising in JADE development and consulting
Visit us at: http://www.silvermoon.co.nz
*NEW* Simple web access to Jade at: www.silvermoon.co.nz/jhp.html ------------------------------------------------------------------