Add Chart to Webpage
How are the Charts displayed on the web?
The charts are produced as standard "Flash" (TM) format files with the standard .swf extension. They will play in any Flash player version 4.x or later (97% of computers on the internet have browsers that have the appropriate Flash player installed)
How do I tell my HTML page to display a chart?
Adding charts to a web page is simple.
The name of the .swf file and the name of the .htm file containing the chart is specified in the Naming page. This .htm is intended only as the preview HTML page. It is assumed that you will use a separate HTML page as the real page that wiill appear on your web site.
To place the chart in the "real" HTML file:
- Open the .htm file referred to in the Naming page.
- Locate a section that has the same form as the following HTML code and select it and copy it.
<!--start chart-1031643669_1-->
<CENTER>
<object width=700 height= 300 classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0">
<PARAM NAME=movie VALUE="automobile_sales_by_month_2001_71.swf">
<PARAM NAME=quality VALUE=high>
<PARAM NAME=bgcolor VALUE=#400040>
<EMBED src="automobile_sales_by_month_2001_71.swf" quality=high bgcolor=#400040 width="700" height="300"
TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/shockwave/
download/index.cgi?P1_Prod_Version=ShockwaveFlash">
</EMBED>
</OBJECT>
<BR>
</CENTER>
<!--end chart-1031643669_1-->
- Open the "real" HTML file and Paste the code copied in step 2 into the real HTML page at the desired location.
- Upload the "real" HTML page and the corresponding .swf file to your web server and point your browser to the appropriate page on your site to test it.
NOTE: If you make changes to the style of your chart, such as width and height or the name of the generated .SWF file then you will need to repeat steps 2, 3 & 4.
Occassionally you might need to tell your browser to refresh the page after changing it. This can be done by hitting the Refresh or Reload button on your browser.
|