<html> <head> <title>Bar Chart Form</title> <script type="text/javascript"> chartType = "browser" colorVal = "lilRed.gif" chartDirection = "" function chgChart() { if (chartType == "browser") { headName = new Array ("Netscape vs. IE usage by month","July","August","September","October", "November","December") array1 = new Array ("Netscape",48.4,48.4,49.0,48.3, 46.9,45.4) array2 = new Array ("MSIE",48.3,48.3,48.1,49.1, 50.4,51.8) array3 = new Array ("Other",3.2,3.2,2.9,2.7,2.7, 2.8) } else { headName = new Array ("Browser Platform usage by month","July","August","September","October", "November","December") array1 = new Array ("PC",89.7,90.2,89.4,89.7,89.6, 90.1) array2 = new Array ("Mac",7.0,6.4,7.4,7.1,7.2,6.7) array3 = new Array ("Other",3.2,3.3,3.3,3.3,3.2, 3.2) } arrayArray = new Array(array1,array2,array3) arrayLength = headName.length parent.right.location.reload() } </script> </head> <body bgcolor=white> <form method=get name="chartForm"> Choose a chart<br> <input type=radio name="Type" value="browser" onclick="chartType=this.value;chgChart()" checked> Browser Usage<br> <input type=radio name="Type" value="platform" onclick="chartType=this.value;chgChart()"> Platform Usage<br> <p><br></p> Choose a color<br> <input type=radio name="Color" value="lilRed.gif" onclick="colorVal=this.value;chgChart()" checked> Red<br> <input type=radio name="Color" value="lilGreen.gif" onclick="colorVal=this.value;chgChart()"> Green<br> <input type=radio name="Color" value="lilBlue.gif" onclick="colorVal=this.value;chgChart()"> Blue<br> <p><br></p> Choose a direction<br> <input type=radio name="Direction" value="horizontal" onclick="chartDirection=this.value;chgChart()" checked> Horizontal<br> <input type=radio name="Direction" value="vertical" onclick="chartDirection=this.value;chgChart()"> Vertical </form> </body> </html>