Syntax myPopChart.setData(graphname, data);
Instructs PopChart Server to set the data for the specified graph object. This data must be in the standard XML format (refer to "XML Data Files" in Chapter 6 of the PopChart Server User Guide).
Parameters The setData() method accepts the following parameters.
The name of the graph object for which you want to set the data. If the specified graph object does not exist, the method will be ignored.
The actual data that should be sent to the graph. This data can be in one of the following formats: tab delimited, comma separated, xml, or HTML table (refer to "Data Formats that PopChart Server Imports" in Chapter 6 of the PopChart Server User Guide).