void loadServerSideImage(String)

Syntax myPopChart.loadServerSideImage(imagefile)

JavaBean Syntax <JSP:setProperty name="myPopChart" property="loadServerSideImage" value="imagefile" />

Description Instructs PopChart Server to load a server-side image.

When you use this command, PopChart Server will not generate a graph, even if graph-generating attributes or methods have been used. Instead, it will simply return the specified server-side image.

Important: It is essential that you set the imageType attribute to the format of the image that you are loading; otherwise, PopChart Server may return the wrong mime type, causing the browser to be unable to display the image.

This method is most often used in conjuction with the saveImageToPopChartServer(String) method.

Parameters The loadServerSideImage() method accepts the following parameters.

imagefile

Filename

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

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).