String svgTemplate

Syntax myPopChart.svgTemplate = "svg_templates/grow.svg";

JavaBean Syntax <JSP:setProperty name="myPopChart" property="svgTemplate" value="svg_templates/grow.svg" />

Description Specifies the location of an SVG template that should be applied to your PopChart image. This location is relative to your document root (usually chart_root). It can also be an absolute path or URL.

PopChart Server allows you to insert dynamically generated SVG PopChart images into an SVG document. You can use a tool such as Adobe® Illustrator® to create an SVG file, which you will use as a template. Then, simply insert a <!--popchart--> tag where you want PopChart Server to insert the dynamically generated SVG.

Several popular templates are located in the chart_root/svg_templates directory. They include special effects like fading, rotation, and animation. For consistency, we recommend that you also put any other SVG templates in this directory.

Important: Make sure that your path.xml file gives PopChart Server permission to read from the location where your SVG Template is located. Otherwise, PopChart Server will not be able to read the file (see "Setting Path Permissions" in Chapter 3 of the PopChart Server User Guide).