Viewing the HTML Examples

To get to the HTML version of the PopChart Examples, you should click on the PopChart Examples shortcut, which will be in your Start Menu on Microsoft Windows® systems, on your desktop on Macintosh® systems, and in your Home folder on UNIX® compatible systems. If you can not find this shortcut, open the examples/index.html file in your PopChart root directory.

From here, you will be given several options. Select the PopChart Examples Book to see these examples. On the next page, you will be given three options, all of which lead to different versions of the same examples.

Dynamic HTML

You will need to make sure that PopChart Server is started before you can view the examples. The example book will check to see if PopChart Server is started before it will allow you to view the examples. If PopChart Server is not running on your machine (http://localhost:2001), it will give you the chance to either start PopChart Server, or enter in the location of a running PopChart Server.

These dynamic HTML web pages contain PopChart images that are generated dynamically by PopChart Server as you view the pages. Using the top frame, you can select what data source PopChart should import the data from.

If you scroll to the bottom of each page, you will see the JavaScript PopChartEmbedder code used to request these images. You will also see the HTML used to embed the images.

For more information about embedding PopChart images with the PopChartEmbedder, refer to Chapter 4, "Embedding PopChart Images in a Web Page," in the PopChart Server User Guide. For more information on embedding PopChart images in regular HTML, refer to Chapter 11, "Getting PopChart Images with HTTP Requests," in the PopChart Server User Guide.

Static HTML

These web pages contain PopChart images that have already been generated. You should select this option if you are running only PopChart Builder or PopChart Xpress, or if you do not want to start PopChart Server. You will be uanable to view the code that created the image.

PDF

PDF is convenient if you want to print an example, but allows no interaction with the example graphs.