![]() ![]() Resizing Your Chart: Resizing the chart to fit your page is very easy Step 1: Open the MyFirstChart.html file again using Notepad. Step 2: Locate the line where it says: <APPLET CODE="HanengCharts.class" ARCHIVE="HanengCharts3.jar" WIDTH=400 HEIGHT=350> and change WIDTH=400 in to WIDTH=200 and change HEIGHT=350 in to HEIGHT=200. The code should now look like this: <HTML><BODY> <!-- Start HanengCharts Code --> <APPLET CODE="HanengCharts.class" ARCHIVE="HanengCharts3.jar" WIDTH=200 HEIGHT=200> <PARAM NAME="LicenseKey" VALUE="DEMO-DTKTG2s3R8xNVzNVFxN"> <PARAM NAME="ChartType" VALUE="3DPie"> <PARAM NAME="Title" VALUE="Units Sold"> <PARAM NAME="Text_1" VALUE="Coca Cola"> <PARAM NAME="Text_2" VALUE="Pepsi"> <PARAM NAME="Text_3" VALUE="Sprite"> <PARAM NAME="Text_4" VALUE="Fanta"> <PARAM NAME="Value_1" VALUE="1000"> <PARAM NAME="Value_2" VALUE="750"> <PARAM NAME="Value_3" VALUE="500"> <PARAM NAME="Value_4" VALUE="250"> </APPLET> <!-- End HanengCharts Code --> </BODY></HTML> Step 3: Save the changes and upload the MyFirstChart.html file to your web server overwriting the old file. Step 4: View the MyFirstChart.html on your web server again. It should now look like this: See the change? It is now much smaller! |