<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;"> 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 <sumit321@hotmail.com><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>