Pie chart in wp7
<p>Is there any way to draw pie chart in WP7?</p>

<p>If not, is there a way to draw an ellipse which has a sector based on user value?</p>

<p>I have seen some third party tools to draw pie chart but I am not satisfied wit that.. </p>

<p>Please provide any code or any other way to get the pie chart</p>

<p>I have tried the following, but it doesn't work:</p>

<pre><code>        EllipseGeometry OuterEllipse = new EllipseGeometry();
        EllipseGeometry InnerEllipse = new EllipseGeometry();
        OuterEllipse.Center = new Point(100, 100);
        OuterEllipse.RadiusX = 100;
        OuterEllipse.RadiusY = 100;

        InnerEllipse.Center = new Point(100, 100);
        InnerEllipse.RadiusX = 90;
        InnerEllipse.RadiusY = 90;

        System.Windows.Shapes.Path path = new System.Windows.Shapes.Path();
        System.Windows.Shapes.Path path1 = new System.Windows.Shapes.Path();

        SolidColorBrush solidbrush = new SolidColorBrush(Colors.Blue);
        path.Fill = solidbrush;
        path.Data = OuterEllipse;

        SolidColorBrush solidbrush1 = new SolidColorBrush(Colors.Yellow);
        path1.Fill = solidbrush1;
        path1.Data = InnerEllipse;

        Chart_stackPanel.Children.Add(path);
        Chart_stackPanel.Children.Add(path1);`
</code></pre>

<p>Any help!</p>
