File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes How do I make dynamic GRAPHS?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "How do I make dynamic GRAPHS??" Watch "How do I make dynamic GRAPHS??" New topic
Author

How do I make dynamic GRAPHS??

verduka fox
Ranch Hand

Joined: Jan 18, 2001
Posts: 178
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

Joined: Jun 02, 2000
Posts: 58
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

Joined: Nov 26, 2001
Posts: 50
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/


Brent Worden
verduka fox
Ranch Hand

Joined: Jan 18, 2001
Posts: 178
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

Joined: Oct 31, 2000
Posts: 527
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


SCJP 1.5, SCEA, ICED (287,484,486)
sagar arora
Greenhorn

Joined: Jul 10, 2001
Posts: 1
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

Joined: May 10, 2001
Posts: 7
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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How do I make dynamic GRAPHS??