<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, "elisabeth theresia" <<a href="mailto:dbee_kawai@yahoo.com">dbee_kawai@yahoo.com</a>> 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 "chart bj"</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 "CHART_TYPE=BAR"</span><br style="font-family:garamond,new york,times,serif">
<span style="font-family:garamond,new york,times,serif">        PROCESSING "CHART_SIZE=20 10" #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 "CHART_SIZE=20 10" #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 "user=dbee
 password=root dbname=dbSpatialSura host=localhost port=5432"</span><br style="font-family:garamond,new york,times,serif"><span style="font-family:garamond,new york,times,serif">    DATA "the_geom FROM tbk_bjsr_gender USING UNIQUE kode_kel"</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 "1000-2000"</span><br style="font-family:garamond,new york,times,serif"><span style="font-family:garamond,new york,times,serif">        TEMPLATE "./template_gender.html"</span><br style="font-family:garamond,new york,times,serif">
<span style="font-family:garamond,new york,times,serif">            EXPRESSION ([ljum_bj]>=1000 and [ljum_bj]<=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 "2001-4000"</span><br style="font-family:garamond,new york,times,serif">
<span style="font-family:garamond,new york,times,serif">        TEMPLATE
 "./template_gender.html"</span><br style="font-family:garamond,new york,times,serif"><span style="font-family:garamond,new york,times,serif">            EXPRESSION ([ljum_bj]>=2001 and [ljum_bj]<=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 "4001-8000"</span><br style="font-family:garamond,new york,times,serif">
<span style="font-family:garamond,new york,times,serif">        TEMPLATE "./template_gender.html"</span><br style="font-family:garamond,new york,times,serif"><span style="font-family:garamond,new york,times,serif">            EXPRESSION ([ljum_bj]>=4001 and [ljum_bj]<=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 "8001-16000"</span><br style="font-family:garamond,new york,times,serif">
<span style="font-family:garamond,new york,times,serif">        TEMPLATE "./template_gender.html"</span><br style="font-family:garamond,new york,times,serif"><span style="font-family:garamond,new york,times,serif">            EXPRESSION ([ljum_bj]>=8001 and [ljum_bj]<=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 " >16000"</span><br style="font-family:garamond,new york,times,serif">
<span style="font-family:garamond,new york,times,serif">        TEMPLATE
 "./template_gender.html"</span><br style="font-family:garamond,new york,times,serif"><span style="font-family:garamond,new york,times,serif">            EXPRESSION ([ljum_bj]>=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 <<a href="mailto:sumit321@hotmail.com" target="_blank">sumit321@hotmail.com</a>><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>