Servlet Example 1
In this
example the servlet will acquire both the configuration and
graph data from text files.
Please Note: In order for the Graphing Servlet to
produce the image below, a Servlet Runner must be running
on your local machine - see beginning
of this section.
The configuration
data is acquired from the text file barprops.txt
(click here to view)
and the graph data is acquired from the text file bardata.txt
(click here to view).
and here
is the HTML code,
<img src="http://localhost:8080/servlet/VbarchartServlet?
config=http://www.jpowered.com/bar_graph/vbargraph/Examples/barprops.txt&
data=http://www.jpowered.com/bar_graph/vbargraph/Examples/bardata.txt"
width="450" height="440">
For a
full explanation of and range of values for the above parameters
please see the Documentation.
Note:
If you are using the evaluation version then in the applet
a pop-up window will appear upon the startup and an evaluation
message will be incorporated by the servlet. Both these features
have been removed from the licensed version. Licensing information
can be found at http://www.jpowered.com/graph_chart/index.htm
<< back to Examples Index
<< back to Getting
Started
|