View Full Version : Graphs on WAS
Guest.Visitor
01-01-1995, 02:00 AM
Does anybody know any tools that are available to display graphs over the web from a WAS architecture solution. I would like if I could to not have a requirement of say excel at the users's PC. I would like to generate the graph(pie, bar graph, etc) maybe save as a .gif and embed into an HTML generated by servlet or JSP. These graphs need to be created dynamically based on user input. Rich
Guest.Visitor
07-06-2000, 05:03 AM
Rich, The basic problem is that the as/400 does not support AWT, period. This means you cant build a display (like a graph) in your servlet and then send it back to a browser. We have run into the same wall ourselves. There are only two solutions right now that I can think of. You can generate a .gif somehow and display that to the browser, or you can send an applet to the browser to actually generate the graphic. The good news is that Sun's merlin doc states that they intend for future Java releases (likely 1.4) to support "head-less" AWT. If the as/400 is to stay current on Java, IBM will have to eventually support head-less Java as well. Here is the text from Sun's merlin doc: support "headless" Java ID: 4281163 Release Driver 'Headless' operation refers to the ability to run a Java program without a monitor, mouse or keyboard. In unix environments, it usually means that X or an equivalent windowing system does not have to be present. Headless Java operation would mean that a server side Java program should be able to use the full J2SE or J2EE API without a GUI environment being present. This means that all AWT calls to manipulate components, graphics, fonts, printing etc. should be functional. Alex Garrison
Guest.Visitor
07-06-2000, 08:00 AM
Rich - There is a gentleman at the University of Tennessee - Knoxville named Mike Guidry. He has a set of JSPs that take in parms and generate HTML graphs. We used these as a base for a system that reported variations in FTEs and salaries on an HR system. The java source, classes, and some sample HTML are available on his web-site at http://csep10.phys.utk.edu/guidry/java . HTH, Steve
Guest.Visitor
08-06-2000, 10:05 PM
Hi, Visual Engineering have a product called KavaChart at http://www.ve.com The product gives you the possibility to send parameters to the servlet and it will create the graph into the page. It's free and it works fine. /Leif
Powered by vBulletin® Version 4.1.5 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.