Dear All,

  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.

I am waiting for your great response.

Advanced Thanks.
Here is my Code...

LAYER
NAME "Ages"
TYPE CHART
CONNECTIONTYPE POSTGIS
CONNECTION "host=localhost dbname=GIS password=administrator user=postgres
port=5432"
DATA "the_geom from world_cities_poi"

PROCESSING "CHART_TYPE=pie"
PROCESSING "CHART_SIZE=30"
STATUS ON
CLASS
NAME "Population Age 0-19"
STYLE
SIZE [v1006]
COLOR 255 244 237
END
END
CLASS
NAME "Population Age 20-39"
STYLE
SIZE [v1007]
COLOR 255 217 191
END
END
CLASS
NAME "Population Age 40-59"
STYLE
SIZE [v1008]
COLOR 255 186 140
END
END
END
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to