Displaying graphs & pi-charts in JSP.
6 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   uday_k
Posted On:   Tuesday, December 18, 2001 12:03 AM

Hi,



How can we represent data in graphs and
pi-charts from JSP's. I've large amount of data as a collection of java objects. But I need to present it visually. Guess, there are many third party components available readily. Can some one point me inthe right direction.


thanks in advance

-uday

JFreeChart

Posted By:   David_Gilbert  
Posted On:   Friday, March 22, 2002 06:06 AM

You can try out JFreeChart (open source, LGPL). JSP support is minimal, but the chart capabilities are good and it would be great if someone wants to contribute some JSP code to improve the library further.


http://www.object-refinery.com/jfreechart/index.html


Regards,


Dave Gilbert

www.object-refinery.com

Re: Displaying graphs & pi-charts in JSP.

Posted By:   Muhammad_Shakeel  
Posted On:   Wednesday, December 19, 2001 01:40 PM

You can get a good & free applet (with source code) for pie charts from here :


http://www.multicians.org/thvv/pie-chart.html

Re: Displaying graphs & pi-charts in JSP.

Posted By:   Sujatha_Gopal  
Posted On:   Tuesday, December 18, 2001 10:21 PM

Here is the sample code of Graph Display in tables.


Place some good images to get the color effects.









(Table)




(TR)


(TD valign=bottom)(IMG SRC="" BORDER="0" WIDTH="2" HEIGHT="1")(/TD)


(TD valign=bottom)(IMG SRC="" BORDER="0" WIDTH="10" HEIGHT="50" ALT="50")(/TD)




(TD valign=bottom)(IMG SRC="" BORDER="0" WIDTH="2" HEIGHT="1")(/TD)


(TD valign=bottom)(IMG SRC="" BORDER="0" WIDTH="10" HEIGHT="150" ALT="150")(/TD)




(TD valign=bottom)(IMG SRC="" BORDER="0" WIDTH="2" HEIGHT="1")(/TD)


(TD valign=bottom)(IMG SRC="" BORDER="0" WIDTH="10" HEIGHT="250" ALT="250")(/TD)


(/TR)




(TR)


(TD) (/TD)


(TD ALIGN=center)(FONT SIZE="1")5(/FONT)(/TD)




(TD) (/TD)


(TD ALIGN=center)(FONT SIZE="1")10(/FONT)(/TD)




(TD) (/TD)


(TD ALIGN=center)(FONT SIZE="1")15(/FONT)(/TD)


(/TR)


(/TABLE)










Re: Displaying graphs & pi-charts in JSP.

Posted By:   Christopher_Schultz  
Posted On:   Tuesday, December 18, 2001 07:46 AM

Someone wrote a tag library recently that does all sorts of great charting. I can't remember its name, but I think I saw it here on JGuru a while back.



Do a google search on "graphing charting tag library" or something like that and see what turns up. I know this thing exists.



You'll have to pay for it, because its not an OpenSource project or anything. If you need graphing, though, you'll probably want to look into this. The charting options actually look quite good.



-chris

Re: Displaying graphs & pi-charts in JSP.

Posted By:   Anonymous  
Posted On:   Tuesday, December 18, 2001 04:07 AM

hai uday,

i am also in need of one if u knw one please let me know

with regards,

rajan

Re: Displaying graphs & pi-charts in JSP.

Posted By:   Sujatha_Gopal  
Posted On:   Tuesday, December 18, 2001 12:50 AM

Simple Bar graphs can be drawn by using Tables itself.


No idea about Pie Charts.
About | Sitemap | Contact