Distributed Samples

Dundas

Distributed Samples


The distributed ASP samples are implemented with two (2) ASP pages each. The first page (PieChart1.asp and PieChart2.asp for samples 1 and 2, respectively) sets up the user interface and displays the chart, while the second page (MakeJPEG1.asp and MakeJPEG2.asp for samples 1 and 2, respectively) loads the selected template, adds the specified data to the pie chart and then outputs the image as a jpeg. The second page is embedded into the first using an <IMG> tag (you can also use an <A> tag).

To run the ASP demos you must be set up to host web pages with either Microsoft Internet Information Server (IIS) or Microsoft Personal Web Server.

The first demo uses four templates which are displayed to a user via a listbox in the main ASP page. Note that you can modify these templates by using the Template Creator any time you wish. The second ASP demo randomly selects one of five templates and also explodes pie slices at random.

To successfully run these demos make sure that the "Templates" and "Textures" folders exist at the same level as the ASP pages that make up the samples. The Template Creator should also be located here.