PCScript

To send a standard data set via PCScript, first specify your category names by calling the Graph. SetCategories() method. Each category name should be separated by a semi-colon. Then, send each series to the graph via separate Graph.SetSeries() commands. The first parameter in this command should be the series name. Then you should list each data item in the series, separating them with a semi-colon.

Assuming that your graph object is named graph, you could send the standard data set of Example 12.2 to a graph with the PCScript in Example 12.4:

Example 12.4 Standard Data Set in PCScript

graph.SetCategories(Highland Mall; Lakeline Mall; Barton Creek Square) 

graph.SetSeries(1999; 27543000; 34654000; 17654000) 

graph.SetSeries(2000; 23987000; 37914000; 29372000) 

graph.SetSeries(2001; 21581000; 34217000; 32138000)

Warning: Do not use commas to separate the thousand and million positions of numbers in PCScript. PopChart Server will think you are specifying multiple data values.

To learn more about sending data via PCScript, refer to "Sending Data with PopChart Script" in Chapter 6 of the PopChart Server User Guide.