<p>What version of MapServer are you using? Charting appeared in 5.0.<br>
Regards,<br>
Thomas </p>
<div class="gmail_quote">On Aug 26, 2010 9:02 PM, &quot;elisabeth theresia&quot; &lt;<a href="mailto:dbee_kawai@yahoo.com">dbee_kawai@yahoo.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="font-family:garamond,new york,times,serif;font-size:10pt"><br><div style="font-family:garamond,new york,times,serif;font-size:10pt"><div style="font-family:times new roman,new york,times,serif;font-size:12pt">
Hi Mr. Sumit,<br><div style="font-family:arial,helvetica,sans-serif;font-size:10pt"><br><span><span>Thanks for your advice. when i tried to apply step by step from: <a href="http://mapserver.org/output/dynamic_charting.html" target="_blank">http://mapserver.org/output/dynamic_charting.html</a></span></span><br>
<br>then in the browser said: <br><span style="font-weight:bold">getSymbol(): Symbol definition error. Parsing error near (CHART):(line 66) </span><br><br><br>this is line 66: <br><br style="font-weight:bold"><div style="font-weight:bold">
TYPE CHART<br><br></div><div style="font-family:arial,helvetica,sans-serif;font-size:10pt"><br>why become like this?<br><br>here the mapfile:<br><span style="font-family:garamond,new york,times,serif">###############CHART##############</span><br style="font-family:garamond,new york,times,serif">
<span style="font-family:garamond,new york,times,serif">    LAYER</span><br style="font-family:garamond,new york,times,serif"><span style="font-family:garamond,new york,times,serif">    NAME &quot;chart bj&quot;</span><br style="font-family:garamond,new york,times,serif">
<span style="font-family:garamond,new york,times,serif">    STATUS ON</span><br style="font-family:garamond,new york,times,serif"><span style="font-family:garamond,new york,times,serif">        #TYPE POLYGON</span><br style="font-family:garamond,new york,times,serif">
<span style="font-family:garamond,new york,times,serif">        TYPE CHART</span><br style="font-family:garamond,new york,times,serif"><span style="font-family:garamond,new york,times,serif">        PROCESSING &quot;CHART_TYPE=BAR&quot;</span><br style="font-family:garamond,new york,times,serif">
<span style="font-family:garamond,new york,times,serif">        PROCESSING &quot;CHART_SIZE=20 10&quot; #specify size of the chart for pie or bar graphs</span><br style="font-family:garamond,new york,times,serif"><span style="font-family:garamond,new york,times,serif">        #PROCESSING &quot;CHART_SIZE=20 10&quot; #specify width n height for graphs</span><br style="font-family:garamond,new york,times,serif">
<span style="font-family:garamond,new york,times,serif">    CONNECTIONTYPE POSTGIS</span><br style="font-family:garamond,new york,times,serif"><span style="font-family:garamond,new york,times,serif">    CONNECTION &quot;user=dbee
 password=root dbname=dbSpatialSura host=localhost port=5432&quot;</span><br style="font-family:garamond,new york,times,serif"><span style="font-family:garamond,new york,times,serif">    DATA &quot;the_geom FROM tbk_bjsr_gender USING UNIQUE kode_kel&quot;</span><br style="font-family:garamond,new york,times,serif">
<span style="font-family:garamond,new york,times,serif">    </span><br style="font-family:garamond,new york,times,serif"><span style="font-family:garamond,new york,times,serif">        CLASS</span><br style="font-family:garamond,new york,times,serif">
<span style="font-family:garamond,new york,times,serif">        NAME &quot;1000-2000&quot;</span><br style="font-family:garamond,new york,times,serif"><span style="font-family:garamond,new york,times,serif">        TEMPLATE &quot;./template_gender.html&quot;</span><br style="font-family:garamond,new york,times,serif">
<span style="font-family:garamond,new york,times,serif">            EXPRESSION ([ljum_bj]&gt;=1000 and [ljum_bj]&lt;=2000) </span><br style="font-family:garamond,new york,times,serif"><span style="font-family:garamond,new york,times,serif">            STYLE</span><br style="font-family:garamond,new york,times,serif">
<span style="font-family:garamond,new york,times,serif">            COLOR 255 255 0</span><br style="font-family:garamond,new york,times,serif"><span style="font-family:garamond,new york,times,serif">            OUTLINECOLOR 0 0 0</span><br style="font-family:garamond,new york,times,serif">
<span style="font-family:garamond,new york,times,serif">            WIDTH
 2</span><br style="font-family:garamond,new york,times,serif"><span style="font-family:garamond,new york,times,serif">            ANTIALIAS TRUE</span><br style="font-family:garamond,new york,times,serif"><span style="font-family:garamond,new york,times,serif">            END#STYLE</span><br style="font-family:garamond,new york,times,serif">
<span style="font-family:garamond,new york,times,serif">        END #CLASS</span><br style="font-family:garamond,new york,times,serif"><span style="font-family:garamond,new york,times,serif">        </span><br style="font-family:garamond,new york,times,serif">
<span style="font-family:garamond,new york,times,serif">        CLASS</span><br style="font-family:garamond,new york,times,serif"><span style="font-family:garamond,new york,times,serif">        NAME &quot;2001-4000&quot;</span><br style="font-family:garamond,new york,times,serif">
<span style="font-family:garamond,new york,times,serif">        TEMPLATE
 &quot;./template_gender.html&quot;</span><br style="font-family:garamond,new york,times,serif"><span style="font-family:garamond,new york,times,serif">            EXPRESSION ([ljum_bj]&gt;=2001 and [ljum_bj]&lt;=4000) </span><br style="font-family:garamond,new york,times,serif">
<span style="font-family:garamond,new york,times,serif">            STYLE</span><br style="font-family:garamond,new york,times,serif"><span style="font-family:garamond,new york,times,serif">            COLOR 255 255 100</span><br style="font-family:garamond,new york,times,serif">
<span style="font-family:garamond,new york,times,serif">            OUTLINECOLOR 0 0 0</span><br style="font-family:garamond,new york,times,serif"><span style="font-family:garamond,new york,times,serif">            WIDTH 2</span><br style="font-family:garamond,new york,times,serif">
<span style="font-family:garamond,new york,times,serif">            ANTIALIAS TRUE</span><br style="font-family:garamond,new york,times,serif"><span style="font-family:garamond,new york,times,serif">            END#STYLE</span><br style="font-family:garamond,new york,times,serif">
<span style="font-family:garamond,new york,times,serif">        END #CLASS</span><br style="font-family:garamond,new york,times,serif"><span style="font-family:garamond,new york,times,serif">        </span><br style="font-family:garamond,new york,times,serif">
<span style="font-family:garamond,new york,times,serif">        CLASS</span><br style="font-family:garamond,new york,times,serif"><span style="font-family:garamond,new york,times,serif">        NAME &quot;4001-8000&quot;</span><br style="font-family:garamond,new york,times,serif">
<span style="font-family:garamond,new york,times,serif">        TEMPLATE &quot;./template_gender.html&quot;</span><br style="font-family:garamond,new york,times,serif"><span style="font-family:garamond,new york,times,serif">            EXPRESSION ([ljum_bj]&gt;=4001 and [ljum_bj]&lt;=8000) </span><br style="font-family:garamond,new york,times,serif">
<span style="font-family:garamond,new york,times,serif">            STYLE</span><br style="font-family:garamond,new york,times,serif"><span style="font-family:garamond,new york,times,serif">            COLOR 200 200
 0</span><br style="font-family:garamond,new york,times,serif"><span style="font-family:garamond,new york,times,serif">            OUTLINECOLOR 0 0 0</span><br style="font-family:garamond,new york,times,serif"><span style="font-family:garamond,new york,times,serif">            WIDTH 2</span><br style="font-family:garamond,new york,times,serif">
<span style="font-family:garamond,new york,times,serif">            ANTIALIAS TRUE</span><br style="font-family:garamond,new york,times,serif"><span style="font-family:garamond,new york,times,serif">            END#STYLE</span><br style="font-family:garamond,new york,times,serif">
<span style="font-family:garamond,new york,times,serif">        END #CLASS</span><br style="font-family:garamond,new york,times,serif"><span style="font-family:garamond,new york,times,serif">        </span><br style="font-family:garamond,new york,times,serif">
<span style="font-family:garamond,new york,times,serif">        CLASS</span><br style="font-family:garamond,new york,times,serif"><span style="font-family:garamond,new york,times,serif">        NAME &quot;8001-16000&quot;</span><br style="font-family:garamond,new york,times,serif">
<span style="font-family:garamond,new york,times,serif">        TEMPLATE &quot;./template_gender.html&quot;</span><br style="font-family:garamond,new york,times,serif"><span style="font-family:garamond,new york,times,serif">            EXPRESSION ([ljum_bj]&gt;=8001 and [ljum_bj]&lt;=16000) </span><br style="font-family:garamond,new york,times,serif">
<span style="font-family:garamond,new york,times,serif">            STYLE</span><br style="font-family:garamond,new york,times,serif"><span style="font-family:garamond,new york,times,serif">            COLOR 150 150 0</span><br style="font-family:garamond,new york,times,serif">
<span style="font-family:garamond,new york,times,serif">            OUTLINECOLOR 0 0 0</span><br style="font-family:garamond,new york,times,serif"><span style="font-family:garamond,new york,times,serif">            WIDTH 2</span><br style="font-family:garamond,new york,times,serif">
<span style="font-family:garamond,new york,times,serif">            ANTIALIAS TRUE</span><br style="font-family:garamond,new york,times,serif"><span style="font-family:garamond,new york,times,serif">            END#STYLE</span><br style="font-family:garamond,new york,times,serif">
<span style="font-family:garamond,new york,times,serif">        END #CLASS</span><br style="font-family:garamond,new york,times,serif"><span style="font-family:garamond,new york,times,serif">        </span><br style="font-family:garamond,new york,times,serif">
<span style="font-family:garamond,new york,times,serif">        CLASS</span><br style="font-family:garamond,new york,times,serif"><span style="font-family:garamond,new york,times,serif">        NAME &quot; &gt;16000&quot;</span><br style="font-family:garamond,new york,times,serif">
<span style="font-family:garamond,new york,times,serif">        TEMPLATE
 &quot;./template_gender.html&quot;</span><br style="font-family:garamond,new york,times,serif"><span style="font-family:garamond,new york,times,serif">            EXPRESSION ([ljum_bj]&gt;=16000) </span><br style="font-family:garamond,new york,times,serif">
<span style="font-family:garamond,new york,times,serif">            STYLE</span><br style="font-family:garamond,new york,times,serif"><span style="font-family:garamond,new york,times,serif">            COLOR 100 100 0</span><br style="font-family:garamond,new york,times,serif">
<span style="font-family:garamond,new york,times,serif">            OUTLINECOLOR 0 0 0</span><br style="font-family:garamond,new york,times,serif"><span style="font-family:garamond,new york,times,serif">       
     WIDTH 2</span><br style="font-family:garamond,new york,times,serif"><span style="font-family:garamond,new york,times,serif">            ANTIALIAS TRUE</span><br style="font-family:garamond,new york,times,serif"><span style="font-family:garamond,new york,times,serif">            END#STYLE</span><br style="font-family:garamond,new york,times,serif">
<span style="font-family:garamond,new york,times,serif">        END #CLASS</span><br style="font-family:garamond,new york,times,serif"><span style="font-family:garamond,new york,times,serif">    </span><br style="font-family:garamond,new york,times,serif">
<span style="font-family:garamond,new york,times,serif">    END #LAYER</span><br><br>Thanks a lot and sorry makes confuse :)<br><br>-Theresia<br><div style="font-family:arial,helvetica,sans-serif;font-size:13px"><font face="Tahoma" size="2"><hr size="1">
<b><span style="font-weight:bold">From:</span></b> Sumit Sharma &lt;<a href="mailto:sumit321@hotmail.com" target="_blank">sumit321@hotmail.com</a>&gt;<br><b><span style="font-weight:bold">To:</span></b> <a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<b><span style="font-weight:bold">Sent:</span></b> Wed, August 25, 2010 11:26:23 PM<br><b><span style="font-weight:bold">Subject:</span></b> [mapserver-users] Re: How to appear Graph?<br></font><p><font color="#500050"><br>
<br>You may like to visit following URL for charting...<br><a href="http://mapserver.org/output/dynamic_charting.h.">http://mapserver.org/output/dynamic_charting.h.</a>..</font></p></div></div>
</div><br>







      </div></div>
</div><br>







      </div><br>_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
<br></blockquote></div>