This example demonstrates how other page components can dynamically interact
with the graphing applet to change chart properties and data values.
For the full range of Dynamic methods available please see the
Documentation - Dynamic Methods section.
and here is the HTML code for the applet,
(note that the applet has been named, name='GRAPH' and that
'mayscript' has been added to the APPLET tag ),
<applet name="GRAPH" code="SVbarchartApplet.class" archive="SVbarchart.jar"
width="400" height="440" mayscript>
<!-- Start Up Parameters -->
<param name="LOADINGMESSAGE" value="Creating Chart - Please Wait.">
<param name="STEXTCOLOR" value="0,0,100">
<param name="STARTUPCOLOR" value="255,255,255">
<param name="chartproperties" value="barprops.txt">
<param name="chartdata" value="bardata.txt">
</applet>
The configuration parameters are taken from the text file barprops.txt
( click here to view )
and the graph data is read from the text file bardata.txt ( click here to view )
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
|