Draw histogram via Web-enabled Application

For questions and postings not covered by the other forums
ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Draw histogram via Web-enabled Application

Postby ConvertFromOldNGs » Fri Aug 07, 2009 12:45 pm

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

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Draw histogram via Web-enabled Application

Postby ConvertFromOldNGs » Fri Aug 07, 2009 12:45 pm

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 ------------------------------------------------------------------


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 37 guests