In this example the servlet will acquire both the configuration and graph
data from text files.
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/SHbarchartServlet?
config=http://www.jpowered.com/bar_graph/shbarchart/Examples/barprops.txt&
data=http://www.jpowered.com/bar_graph/shbarchart/Examples/bardata.txt" width="450" height="440">
For a full explanation of and range of values for the above parameters please
see the Documentation - Configuration Options».
« back to Examples Index
« back to Getting Started
|