[mapserver-users] About Dynamic Charting

venkat ven.tammineni at gmail.com
Wed Apr 9 01:48:20 PDT 2008


Dear All,

  I am developing an web application based on C# asp.net.I have one
requirement that is generating Pie Charts.I have done same with using
mapfile .it is working fine.What i need is Mapserver does any class for work
with chart(pie or bar) Like layerObject for Layer and mapObj for map etc.

  Please any one can help me.I am waiting for your great response.

Advanced Thanks

Regards
Venkat.

Here  is example  is working fine :-
LAYER
    NAME "Papulation"
    TYPE CHART
    CONNECTIONTYPE POSTGIS
    CONNECTION "host=localhost dbname=GIS password=administrator
user=postgres port=5432"
    DATA "the_geom from world"
    PROCESSING "CHART_TYPE=pie"
    PROCESSING "CHART_SIZE=30"
    STATUS ON

    CLASS
      NAME "Population Age 0-19"
      STYLE
        SIZE [3000]
        COLOR 125 147 225
      END
    END
    CLASS
      NAME "Population Age 20-39"
      STYLE
        SIZE [4000]
        COLOR 197 0 255
      END
    END
    CLASS
      NAME "Population Age 40-59"
      STYLE
        SIZE [5000]
        COLOR 0 197 255
      END
    END
END
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080409/29fa816c/attachment.htm>


More information about the MapServer-users mailing list