void loadPCXML(String)

Syntax myPopChart.loadPCXML(xmlsrc)

JavaBean Syntax <JSP:setProperty name="myPopChart" property="loadPCXML" value="xmlsrc" />

Description Instructs PopChart Server to load a PopChart XML file. The contents of this file will be appended to any other PopChart XML files that have been loaded into the graph, including the appearance file.

Note: Any PopChart XML added through the addPCXML(String) method will be appended after all of the loadPCXML() methods have been processed.

For more information about PopChart XML, refer to Chapter 10, "Using PopChart XML," in the PopChart Server User Guide.

Parameters The loadPCXML() method accepts the following parameters.

xmlsrc

Filename | URL

The path to and location of the PopChart XML file that you want PopChart Server to load. This file is relative to PopChart Server's document root. You can also specify an absolute path or a URL.

Make sure that the file is accessible from the machine that PopChart Server runs on. Also make sure that your path.xml file permits PopChart Server to read from this path (see "Setting Path Permissions" in Chapter 3 of the PopChart Server User Guide).