<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><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 target="_blank" href="http://mapserver.org/output/dynamic_charting.html">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;">&nbsp;&nbsp;&nbsp; LAYER</span><br style="font-family: garamond,new york,times,serif;"><span style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; NAME "chart bj"</span><br style="font-family: garamond,new york,times,serif;"><span style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; STATUS ON</span><br style="font-family: garamond,new york,times,serif;"><span style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; #TYPE POLYGON</span><br style="font-family: garamond,new york,times,serif;"><span style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; TYPE CHART</span><br
 style="font-family: garamond,new york,times,serif;"><span style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; PROCESSING "CHART_TYPE=BAR"</span><br style="font-family: garamond,new york,times,serif;"><span style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 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;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; #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;">&nbsp;&nbsp;&nbsp; CONNECTIONTYPE POSTGIS</span><br style="font-family: garamond,new york,times,serif;"><span style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; 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;">&nbsp;&nbsp;&nbsp; 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;">&nbsp;&nbsp;&nbsp; </span><br style="font-family: garamond,new york,times,serif;"><span style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CLASS</span><br style="font-family: garamond,new york,times,serif;"><span style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; NAME "1000-2000"</span><br style="font-family: garamond,new york,times,serif;"><span style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; TEMPLATE "./template_gender.html"</span><br style="font-family:
 garamond,new york,times,serif;"><span style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 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;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; STYLE</span><br style="font-family: garamond,new york,times,serif;"><span style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; COLOR 255 255 0</span><br style="font-family: garamond,new york,times,serif;"><span style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; OUTLINECOLOR 0 0 0</span><br style="font-family: garamond,new york,times,serif;"><span style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; WIDTH
 2</span><br style="font-family: garamond,new york,times,serif;"><span style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ANTIALIAS TRUE</span><br style="font-family: garamond,new york,times,serif;"><span style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; END#STYLE</span><br style="font-family: garamond,new york,times,serif;"><span style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; END #CLASS</span><br style="font-family: garamond,new york,times,serif;"><span style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; </span><br style="font-family: garamond,new york,times,serif;"><span style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CLASS</span><br style="font-family: garamond,new york,times,serif;"><span style="font-family:
 garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; NAME "2001-4000"</span><br style="font-family: garamond,new york,times,serif;"><span style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; TEMPLATE
 "./template_gender.html"</span><br style="font-family: garamond,new york,times,serif;"><span style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 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;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; STYLE</span><br style="font-family: garamond,new york,times,serif;"><span style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; COLOR 255 255 100</span><br style="font-family: garamond,new york,times,serif;"><span style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; OUTLINECOLOR 0 0 0</span><br style="font-family: garamond,new york,times,serif;"><span style="font-family: garamond,new
 york,times,serif;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; WIDTH 2</span><br style="font-family: garamond,new york,times,serif;"><span style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ANTIALIAS TRUE</span><br style="font-family: garamond,new york,times,serif;"><span style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; END#STYLE</span><br style="font-family: garamond,new york,times,serif;"><span style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; END #CLASS</span><br style="font-family: garamond,new york,times,serif;"><span style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; </span><br style="font-family: garamond,new york,times,serif;"><span style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CLASS</span><br
 style="font-family: garamond,new york,times,serif;"><span style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; NAME "4001-8000"</span><br style="font-family: garamond,new york,times,serif;"><span style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; TEMPLATE "./template_gender.html"</span><br style="font-family: garamond,new york,times,serif;"><span style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 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;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; STYLE</span><br style="font-family: garamond,new york,times,serif;"><span style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; COLOR 200 200
 0</span><br style="font-family: garamond,new york,times,serif;"><span style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; OUTLINECOLOR 0 0 0</span><br style="font-family: garamond,new york,times,serif;"><span style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; WIDTH 2</span><br style="font-family: garamond,new york,times,serif;"><span style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ANTIALIAS TRUE</span><br style="font-family: garamond,new york,times,serif;"><span style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; END#STYLE</span><br style="font-family: garamond,new york,times,serif;"><span style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; END #CLASS</span><br style="font-family:
 garamond,new york,times,serif;"><span style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; </span><br style="font-family: garamond,new york,times,serif;"><span style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CLASS</span><br style="font-family: garamond,new york,times,serif;"><span style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; NAME "8001-16000"</span><br style="font-family: garamond,new york,times,serif;"><span style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; TEMPLATE "./template_gender.html"</span><br style="font-family: garamond,new york,times,serif;"><span style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 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;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; STYLE</span><br style="font-family: garamond,new york,times,serif;"><span style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; COLOR 150 150 0</span><br style="font-family: garamond,new york,times,serif;"><span style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; OUTLINECOLOR 0 0 0</span><br style="font-family: garamond,new york,times,serif;"><span style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; WIDTH 2</span><br style="font-family: garamond,new york,times,serif;"><span style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ANTIALIAS TRUE</span><br style="font-family: garamond,new york,times,serif;"><span
 style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; END#STYLE</span><br style="font-family: garamond,new york,times,serif;"><span style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; END #CLASS</span><br style="font-family: garamond,new york,times,serif;"><span style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; </span><br style="font-family: garamond,new york,times,serif;"><span style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CLASS</span><br style="font-family: garamond,new york,times,serif;"><span style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; NAME " &gt;16000"</span><br style="font-family: garamond,new york,times,serif;"><span style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; TEMPLATE
 "./template_gender.html"</span><br style="font-family: garamond,new york,times,serif;"><span style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; EXPRESSION ([ljum_bj]&gt;=16000) </span><br style="font-family: garamond,new york,times,serif;"><span style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; STYLE</span><br style="font-family: garamond,new york,times,serif;"><span style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; COLOR 100 100 0</span><br style="font-family: garamond,new york,times,serif;"><span style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; OUTLINECOLOR 0 0 0</span><br style="font-family: garamond,new york,times,serif;"><span style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
 &nbsp;&nbsp;&nbsp; WIDTH 2</span><br style="font-family: garamond,new york,times,serif;"><span style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ANTIALIAS TRUE</span><br style="font-family: garamond,new york,times,serif;"><span style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; END#STYLE</span><br style="font-family: garamond,new york,times,serif;"><span style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; END #CLASS</span><br style="font-family: garamond,new york,times,serif;"><span style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; </span><br style="font-family: garamond,new york,times,serif;"><span style="font-family: garamond,new york,times,serif;">&nbsp;&nbsp;&nbsp; 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;sumit321@hotmail.com&gt;<br><b><span style="font-weight: bold;">To:</span></b> mapserver-users@lists.osgeo.org<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><br>
<br>You may like to visit following URL for charting...<br><span><a rel="nofollow" target="_blank" href="http://mapserver.org/output/dynamic_charting.html">http://mapserver.org/output/dynamic_charting.html</a></span><br>Hope that helps<br>-Sumit<br>-- <br><span><span>View this message in context: <a target="_blank" href="http://osgeo-org.1803224.n2.nabble.com/How-to-appear-Graph-tp5463915p5464433.html">http://osgeo-org.1803224.n2.nabble.com/How-to-appear-Graph-tp5463915p5464433.html</a></span></span><br>Sent from the Mapserver - User mailing list archive at <a rel="nofollow" target="_blank" href="http://Nabble.com">Nabble.com</a>.<br>_______________________________________________<br>mapserver-users mailing list<br><a rel="nofollow" ymailto="mailto:mapserver-users@lists.osgeo.org" target="_blank" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br><span><span><a target="_blank"
 href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a></span></span><br></div></div>
</div><br>







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







      </body></html>