Type in the parameter name and value and click the set button.

<applet code=com.objectplanet.chart.BarChartApplet
 archive=chart.jar width=300 height=200 name=BarChart>
<param name=sampleValues value="10,20,30,40,50">
</applet>

<form name="input">
<input name="param" value="valueLinesOn" size=18>
<input name="paramvalue" value="true" size=18>
<input name="set" type="button" value="set" onClick=repaint()>
</form>

<script language="JavaScript">
<!--
function repaint() {
   document.BarChart.setParameter(document.input.param.value, document.input.paramvalue.value);
}
//-->
</script>


Select a bar or legend entry and click the button to get the index of the selected sample and series.

lastSelectedSample
lastSelectedSeries


Push the "make small" and "make large" buttons to change the size of the chart.
(Works only with IE)

<applet code=com.objectplanet.chart.BarChartApplet archive=chart.jar
 width=350 height=250 name=ResizableChart>
<param name=sampleValues value="10,20,30,40,50">
</applet>

<form name="resize">
<input name="small" type="button" value="make large" onClick=makeLarge()>
<input name="large" type="button" value="make small" onClick=makeSmall()>
</form>

<script language="JavaScript">
<!--
function makeLarge() {
   document.ResizableChart.width=350;
   document.ResizableChart.height=250;
}
function makeSmall() {
   document.ResizableChart.width=260;
   document.ResizableChart.height=180;
}
//-->
</script>