I came to a point were I need to use a Pie chart for a Project if you tried to search online you will not find a free charting control so I decided to build one. there is a huge modification in .NET 4.5 framework specially when it come to Paths and drawing because of
so I decided to build a charting library on my own and here I’ll give you an initial start on build a Pie Chart
so the Frist step is to build a Pie Slice that will represent your pie percentage so you need to construct a method to build your Paths and Points of your Arcs below is the method code for that
Then you will need to build your chart plotter area which will calculate the values and turn it into angles to draw you a full Pie
Below if my Plotter building Method
the output of the above is this sample Pie Chart. I’m still in the process of Building a Charting component for windows 8 feel free to request for the code but The Component is still in progress
Trackback from SilverlightShow.net
Thanks for your Amazing Help I was looking for something like that
where do we want to write this code?
I've already released an assembly for this u can use it straight away
What is the relationship between Code1 and Code2. You are not using DrawGeometry() in Code2, so how does Pie gets drawn to the Screen ??
Could you explain more
I get some error whan i running this program...
please help me...