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