This section contains troubleshooting tips for problems that occur when using the PopChart Embedder.
For more information, refer to "Setting the Server Information".
This problem occurs when you accidentally use a semi-colon at the end of a line in VBScript. You may run into this problem when using the COM PopChart Embedder with Active Server Pages (ASPs).
Active Server Pages use VBScript, whose syntax requires that you do not have a semi-colon at the end of a line of code. Since other languages either require a semi-colon, or are indifferent, most of the example code in this documentation uses a semi-colon at the end of each line of code. You should be careful to remove any semi-colons from example code if you use it in an ASP.
For example, this line of code is invalid in an ASP:
myPopChart.appearanceFile="bar.pcxml";
myPopChart.appearanceFile="bar.pcxml"
This problem occurs when you accidentally use incorrect VBScript syntax for a method that does not return a value. You may run into this problem when using the COM PopChart Embedder with Active Server Pages (ASPs).
VBScript syntax requires any functions that do not return a value (void methods) to not have parenthesis around the parameters.
For example, we show the addHTMLTable syntax to be:
myPopChart.addHTMLTable("graph","title");
This is perfectly valid in every language except VBScript. So in ASPs, you would need to use the following syntax:
myPopChart.addHTMLTable "graph", "title"
For most ASP developers this will be a very obvious conversion process.
For more information, refer to "JavaScript Embedder limitations".
Due to the nature of JavaScript, the JavaScript PopChart Embedder is subject to the 256 character URL length limitation when displaying SVG images (refer to "Overcoming the URL Length Restriction"). To workaround this problem, try importing your data from a data file or using a server-side command or PCXML file.
Due to the nature of JavaScript, the JavaScript PopChart Embedder is subject to the 2000 character URL length limitation (refer to "Overcoming the URL Length Restriction"). To workaround this problem, try importing your data from a data file or using a server-side command or PCXML file.
PopChart Server has either not been started, or is not running correctly. Please restart PopChart Server.
In order to load appearance, PCXML, or data files from absolute paths on UNIX systems, you must place an extra slash in fromt of the path. For example, to load the file /home/mydirectory/myfile.txt, you would have to specify //home/mydirectory/myfile.txt as the file name.
This applies to PopChart Embedder methods and attributes (e.g. loadData(), appearanceFile) as well as PCScript and server commands (e.g. @_FILE, @_LOADREQUEST, graph.LoadFile())
ColdFusion MX currently does not allow access to the component object model. This is apparantly a bug in ColdFusion. Because of it, the COM version of the PopChart Embedder will not work with ColdFusion MX. You should use the Java version instead.