943,948 Members | Top Members by Rank

Ad:
  • JSP Discussion Thread
  • Unsolved
  • Views: 3548
  • JSP RSS
Mar 3rd, 2008
0

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

Expand Post »
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.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
euniceee is offline Offline
3 posts
since Mar 2008
Mar 3rd, 2008
0

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

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)
Team Colleague
Reputation Points: 1658
Solved Threads: 331
duckman
jwenting is offline Offline
7,719 posts
since Nov 2004
Mar 3rd, 2008
0

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

Should I use php instead?thanks...
Reputation Points: 10
Solved Threads: 0
Newbie Poster
euniceee is offline Offline
3 posts
since Mar 2008
Mar 6th, 2008
0

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

Yes you better with PHP in this case
Moderator
Featured Poster
Reputation Points: 2786
Solved Threads: 873
Code tags enforcer
peter_budo is offline Offline
6,656 posts
since Dec 2004
Mar 7th, 2008
0

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

yep, it's the language of choice for lazy loosers who don't want to learn how to do things properly.
Team Colleague
Reputation Points: 1658
Solved Threads: 331
duckman
jwenting is offline Offline
7,719 posts
since Nov 2004
Mar 8th, 2008
0

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

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.
Reputation Points: 30
Solved Threads: 4
Light Poster
electron33 is offline Offline
36 posts
since Jan 2008
Mar 9th, 2008
0

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

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.
Super Moderator
Featured Poster
Reputation Points: 3233
Solved Threads: 720
Failure as a human
~s.o.s~ is offline Offline
8,872 posts
since Jun 2006
Mar 11th, 2008
0

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

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.
Reputation Points: 16
Solved Threads: 11
Junior Poster in Training
lookof2day is offline Offline
83 posts
since Aug 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in JSP Forum Timeline: values lost on navigetion to next page and back
Next Thread in JSP Forum Timeline: save selected radio button value in session scoped bean





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC