Is it possible to create a pie chart with JSP from the data of MySQL?

Reply

Join Date: Mar 2008
Posts: 3
Reputation: euniceee is an unknown quantity at this point 
Solved Threads: 0
euniceee euniceee is offline Offline
Newbie Poster

Is it possible to create a pie chart with JSP from the data of MySQL?

 
0
  #1
Mar 3rd, 2008
I am a beginner in JSP, I am just wondering will it be possible to create a pie chart in jsp without installing new classes and stuff? If yes, how can I do it? Or else will it be possible if I retreieve the data from mysql and display it into a text box and create the pie chart? Thank you very much.
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 6,143
Reputation: jwenting is just really nice jwenting is just really nice jwenting is just really nice jwenting is just really nice 
Solved Threads: 213
Team Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: Is it possible to create a pie chart with JSP from the data of MySQL?

 
0
  #2
Mar 3rd, 2008
yes, but you don't want to.
It's not what JSP is intended for, and why reinvent the wheel?

And no, we're not going to help you do things that are a Really Bad Idea (tm)(p)(c)(r)
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 3
Reputation: euniceee is an unknown quantity at this point 
Solved Threads: 0
euniceee euniceee is offline Offline
Newbie Poster

Re: Is it possible to create a pie chart with JSP from the data of MySQL?

 
0
  #3
Mar 3rd, 2008
Should I use php instead?thanks...
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 4,194
Reputation: peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of 
Solved Threads: 485
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is offline Offline
Code tags enforcer

Re: Is it possible to create a pie chart with JSP from the data of MySQL?

 
0
  #4
Mar 6th, 2008
Yes you better with PHP in this case
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)

LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 6,143
Reputation: jwenting is just really nice jwenting is just really nice jwenting is just really nice jwenting is just really nice 
Solved Threads: 213
Team Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: Is it possible to create a pie chart with JSP from the data of MySQL?

 
0
  #5
Mar 7th, 2008
yep, it's the language of choice for lazy loosers who don't want to learn how to do things properly.
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 36
Reputation: electron33 is an unknown quantity at this point 
Solved Threads: 4
electron33 electron33 is offline Offline
Light Poster

Re: Is it possible to create a pie chart with JSP from the data of MySQL?

 
0
  #6
Mar 8th, 2008
There is a page http://www.jfree.org/jfreechart/. What you can do to present charts i JSP is to create chart in code then save the chart as image. then present the image on the JSP page. This chart is not dynamic but it will hopefully help solving your problem.
Last edited by electron33; Mar 8th, 2008 at 6:14 pm.
Reply With Quote Quick reply to this message  
Join Date: Jun 2006
Posts: 7,619
Reputation: ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of 
Solved Threads: 468
Super Moderator
Featured Poster
~s.o.s~'s Avatar
~s.o.s~ ~s.o.s~ is offline Offline
Failure as a human

Re: Is it possible to create a pie chart with JSP from the data of MySQL?

 
0
  #7
Mar 9th, 2008
AFAIK, JFreechart can also be used to create dynamic on the fly charts. Read the documentation and the tutorials floating around the web and it shouldn't be that difficult.
I don't accept change; I don't deserve to live.
Reply With Quote Quick reply to this message  
Join Date: Aug 2007
Posts: 80
Reputation: lookof2day is an unknown quantity at this point 
Solved Threads: 10
lookof2day lookof2day is offline Offline
Junior Poster in Training

Re: Is it possible to create a pie chart with JSP from the data of MySQL?

 
0
  #8
Mar 11th, 2008
If you are really interested you can refer the following link http://builder.com.com/5100-6370-5031703.html However, others have already pointed out not to do so.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC