Applet Example 3
In this
example the applet 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,
<applet code="SVbarchartApplet.class"
archive="SVbarchart.jar" width="450" height="440"
mayscript>
<!-- Start Up
Parameters -->
<PARAM name="LOADINGMESSAGE" value="Creating
Chart - Please Wait."> <!-- Message to be displayed
on Startup -->
<PARAM name="STEXTCOLOR" value="0,0,100">
<!-- Message Text Color-->
<PARAM name="STARTUPCOLOR" value="255,255,255">
<!-- Applet Background color -->
<!-- Character
Encoding -->
<PARAM name="charset" value="8859_1">
<!-- Data files
-->
<PARAM name="chartproperties" value="barprops.txt">
<PARAM name="chartdata" value="bardata.txt">
<b>Your Browser
is not Java enabled !</b><br>
To enable Java on your browser please install a Java Virtual
Machine from the following page <a href="http://www.java.com">http://www.java.com</a>
</applet>
<< back to Examples Index
<< back to Getting
Started
|