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 ../../area_graph/Examples/areaprops.txt
(click here to view)
and the graph data is acquired from the text file ../../area_graph/Examples/areadata.txt (click here to view).
and here is the HTML code,
<img src="http://localhost:8080/servlet/AreaGraphServlet?
config=http://www.jpowered.com/area_graph/Examples/../../area_graph/Examples/areaprops.txt&
data=http://www.jpowered.com/area_graph/Examples/../../area_graph/Examples/areadata.txt"
width="460" 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
|