You can generate an SVG PopChart image using the @_SVG server command. For example, the following HTTP request will generate a SVG PopChart image:
http://localhost:2001/?@_FILEexamples/apfiles/bar.pcxml@_SVG
SVG images can be embedded into web pages using an <embed> tag and the @_SVG server command. You must also be sure to specify the width and the height of the image in the <embed> tag.
<embed type="image/svg-xml" pluginspage="http://www.adobe.com/svg/viewer/install/main.html" width="600" height="400" src="http://localhost:2001/?@_FILEexamples/apfiles/bar.pcxml@_HEIGHT400@_WIDTH600@_SVG">
</embed>
You can have PopChart Server automatically embed your PopChart image within an SVG template and return the resulting SVG image. This allows you to create simple effects like animation, or to embed your dynamic images in more elaborate SVG documents. To do this, simply use the @_USESVGTEMPLATE server command, as illustrated below:
http://localhost:2001/?@_FILEexamples/apfiles/bar.pcxml@_HEIGHT400@_WIDTH600@_SVG@_USESVGTEMPLATEsvg_templates/Grow.svg