Most of the functionality of server commands is available through the various PopChart Embedder APIs.
Occasionally, you may find it necessary to use server command functionality that isn't available through the PopChart Embedder APIs. If this is the case, you can send server commands directly to PopChart Server through the PopChart Embedder's extraPCSCommands attribute. The only parameter to this method is a server command string. This server command string should be in the same format as that which was explained above for server command strings in HTTP requests, although you do not need to URL-encode this string.
For example, if you are using the Java PopChart Embedder and have an instance of the PopChart Embedder object named graphImage, the following method call would allow you to use the @_LOADREQUEST server command:
graphImage.setExtraPCSCommands ("@_LOADREQUESTcommands1.txt");