Running the examples

The best way to verify that the installation is working is to run one of the included example scripts. Assuming that the library is installed locally in the document root on the HTTP server under jpgraph/ pointing the browser to "http://localhost/jpgraph/Examples/example0.php" should show the same image as can be seen in Example 1.1. This is the very first example (example0.php) .

In order to generate all the examples available there is a "meta script" that will just do this. Point the browser to


just note that this will generate a page with more than 300 examples. Depending on the capacity of the server it might take a few seconds before this script is done.