Embedding an SVG Image using PopChart Embedder

You can generate an SVG PopChart image by setting the PopChart Embedder imageType attribute to "SVG". For example, assuming your PopChart Embedder object is named myPopChart, you should use the following command to set the image format to SVG:

myPopChart.imageType = "SVG";

SVG Templates

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 svgTemplate attribute of the PopChart Embedder, as illustrated below:

myPopChart.svgTemplate = "svg_template/Grow.svg";