Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How do I make dynamic GRAPHS??

 
verduka fox
Ranch Hand
Posts: 178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am writing a browser based application in which the users need to see their test results visually in graphs. I am writing the site using JSP. The business owner does not want to use Java Applets at all, since they introduce performance inefficiencies. The site I am writing is replacing an existing PowerBuilder application which presents the results graphically as:
line graph
area graph
bar graph
column graph
3D bar graph
3D column graph
3D line graph
Does anyone know of a tool I can use which will create graphs in the formats listed above, using JSP? We need to keep the client as thin as possible, and want to keep all the work on the server. I really appreciate any suggestions/resources/links/examples that you can give me.
 
Raghavendra Holla
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Yes. There are very good tools (freeware). One such tool we are using in our project currently is ploticus. It provides all your functionality. Only thing is it comes for Unix. Check out, whether you get for ploticus Window's also (hope your site will be in MS Windows). Check www.sgpr.net for further details.

regards
holl@
 
Brent Worden
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
EasyCharts from ObjectPlanet allows for the creation of charts via servlets. http://www.objectplanet.com/EasyCharts/
So does KavaChart http://www.ve.com/kavachart/
If you want to role out your own charting solution, a common practice I've seen is creating servlets that create GIF images using ACME's GifEncoder, http://www.acme.com/java/software/, and invoking these servlets via an IMG tag.

------------------
Brent Worden
http://www.Brent.Worden.org/
 
verduka fox
Ranch Hand
Posts: 178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
holl@,
Thanks for your quick response. Yes, the site I am creating will be accessed from Internet Explorer version 5 and greater. I checked out ploticus, the tool you mentioned. I see that it does create several different types of graphs, which is what I need. I am having trouble determining if this tool is used to create graphs that are accessed through static pages, or if it can make graphs on the fly. In my application, each person's results will differ, so they will need to be graphed dynamically. Can this tool perform this functionality? What is its performance like? Please let me know if it can create the graphs dynamically. Thanks again for your help.
 
Anil Vupputuri
Ranch Hand
Posts: 527
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi..
Did u implement ploticus to create dynamic graphs. I have the same reqt. of yours. which is the best way to create a chart( in gif file) on the fly.
Thanks,
Anil
 
sagar arora
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We have used a very simple approach for generating graphs in JSP's. We have taken a image (small dot). This image is then stretched( width wise) based on the values recd. from database.All this code is being put in a while loop. Then the graph is scaled down based on the maximum value. Hope you got the idea.In case you need further details you can write to me at sasagar@rediffmail.com
 
panchalee phookan
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I too wanted to post a query when I saw this chain. Well can anybody say if we have something like activeX control charts and graphs which can be used in a JSP page.
I too need to generate demand and supply function graphs in a Web Page based on data provided by the user.
Any free Javabeans available for the same?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic