graph chart

2D / 3D Stacked Horizontal Bar Graph Examples

[ Bar Graph Home ] [ Tutorials ] [ Documentation ] [ Getting Started ] [ Solutions ]

Applet Example 8 - Dynamic Updates

if you do not see the graph below then click here

( Click on the buttons to see the various effects. )
Setting the Graph 'Switches'
Setting the Color Properties
All of the graph properties can be dynamically updated in this manner. Here we demonstrate this by changing grid Background Color property.
Changing the Data
The following buttons will change the Value of various data points

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="SHbarchartApplet.class" archive="SHbarchart.jar" width="450" 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">

<!-- Data files -->
<PARAM name="chartproperties" value="barprops.txt">
<PARAM name="chartdata" value="bardata.txt">


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

[ Bar Graph Home ] [ Tutorials ] [ Documentation ] [ Getting Started ] [ Solutions ]

Getting Started




Common Problems
This section describes and provides solutions to common problems.