SimpleChart

by Christian Graefe

I've added a example of charting in SharpMap. Instead of programming a charting solution, i use ZedGraph. ZedGraph is LGPL licensed charting solution programmed in C#.

At the moment only pie charts are rendered, but i will also add bar charts.
I use a slightly modified "city-layer". I added two additional fields (Male and Female), which was generated randomly.
Both fields shows the relationship of Male to Female inhabitants of the city. But be aware, that these data are generated randomly for this demo.

I hope this is usefull to you.
I added the ZedGraph assembly into the zip file. Otherwise you can find more chart demos at
their homepage (http://www.zedgraph.org)

Example download:
SimpleChart.zip

Example output:
Charts_by_ChristianGraefe.png

Last edited Feb 20, 2007 at 11:34 PM by Volleyknaller, version 4