Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_jsp thread: Report


Message #1 by thomas.wai@c... on Thu, 1 Mar 2001 15:45:22 +0800
Thomas,

 you can complete this task on your own.   You will require some sort of
.gif file(small graphic line) that you can expand and contract based on your
data--using a line like:
<TD><IMG SRC="line.gif" HEIGHT=20 WIDTH="<%=size*3%>"></TD>
This is embedded in a table that is centered on my entire screen.
Mark Wutka's Using JSP & Servlets Special Edition(Que publication) gives an
excellent example of this that I've adopted and enhanced..works great...

good luck and I hope I helped
..
ohh yea, you will of course have some sort of logic that will determine how
much to grow or reduce a specific bar in your graph...This chart uses
horizontal bar graphs where the width is  dynamicly set based on my "size"
variable.

once again,

good luck,

Billy K.




-----Original Message-----
From: thomas.wai@c... [mailto:thomas.wai@c...]
Sent: Thursday, March 01, 2001 2:45 AM
To: Pro_JavaServer_Pages
Subject: [pro_jsp] Report




Dear all,

     Would anyone tell me how to make some bar-charts on the web with using
jsp or java? Or I need to buy third-party product to complete the task. How
can I put the data into the charts? Thanks.

Thomas
Cathay Pacific Catering Services


  Return to Index