Not used in JavaScript PopChart Embedder.
Syntax myPopChart.userAgent = userAgentString;
JavaBean Syntax <JSP:setProperty name="myPopChart" property="userAgent" value="<%= request.getHeader(\"user-agent\") %>" />
Description Tells PopChart Server what the client's user agent is.
You should set this attribute to the value of the user agent string that is passed to your web application server (e.g. "Mozilla/4.0 (compatible; MSIE 4.01; Windows NT)" or "Mozilla/4.7 (Macintosh; I; PPC)"). Each environment has its own method for looking up the user agent string. The method for looking up the string in Java is shown in Example 4.4, while the method in JavaBeans is shown in the JavaBeans syntax description above.
Note: It is not necessary to set this attribute, but doing so helps PopChart Server optimize its code for embedding PopChart Images.