Syntax myPopChart.addPCXML(XMLString);
JavaBean Syntax <JSP:setProperty name="myPopChart" property="addPCXML" value="XMLString" />
Description Sends the specified PopChart XML statement to PopChart Server.
Note: Any PopChart XML added through this method will be appended after all of the loadPCXML(String) methods have been processed. PCScript will be processed after all PopChart XML has been processed.
For more information about PopChart XML, refer to Chapter 10, "Using PopChart XML," in the PopChart Server User Guide.
Parameters The addPCXML() method accepts the following parameters.
The PopChart XML that should be sent to PopChart Server.
Example 4.6 Streaming PopChart XML to PopChart Server
myPopChart.addPCXML("<Chart> <GraphData Name='graph'> <Categories> <Category Name='Arrivals'/> <Category Name='Departures'/> <Category Name='Unused'/> <Category Name='Out of Commision'/> </Categories> <Series Name='Atlanta'> <Data Value='23.0'/> <Data Value='36.0'/> <Data Value='11.0'/> <Data Value='7.0'/> </Series><Series Name='Boston'> <Data Value='41.0'/> <Data Value='17.0'/><Data Value='25.0'/> <Data Value='9.0'/> </Series> </GraphData> </Chart>");