Dear All,<br><br> I am Venkat.In my web application i need to create Pie Charting.When i looked into Mapserver url it is saying that Mapserver5.0 will support Pie Charting.But i am using ms4w_2.2.7.I do not know what is difference between both these.When compile below map file code i am getting error called TYPE CHART is not found. Where i am doing mistake.Please can you any help me .please make me understand difference between both ms4w_2.2.7 and mapserver.Please ignore the fields i using.<br>
<br>I am waiting for your great response.<br><br>Advanced Thanks.<br>Here is my Code...<br><br>LAYER<br> NAME "Ages"<br> TYPE CHART<br>CONNECTIONTYPE POSTGIS<br>CONNECTION "host=localhost dbname=GIS password=administrator user=postgres port=5432"<br>
DATA "the_geom from world_cities_poi"<br><br> PROCESSING "CHART_TYPE=pie"<br> PROCESSING "CHART_SIZE=30"<br> STATUS ON<br> CLASS<br> NAME "Population Age 0-19"<br> STYLE<br>
SIZE [v1006]<br> COLOR 255 244 237<br> END<br> END<br> CLASS<br> NAME "Population Age 20-39"<br> STYLE<br> SIZE [v1007]<br> COLOR 255 217 191<br> END<br> END<br>
CLASS<br> NAME "Population Age 40-59"<br> STYLE<br> SIZE [v1008]<br> COLOR 255 186 140<br> END<br> END <br>END<br>