This extension will add a project template to your Windows Universal Platform (UWP) templates in Visual Studio. The project template contains a user control called PieChart that you can use to add charts to your Windows 10 applications. Here is following a sample to add Pie Chart by using XAML:
XAML Edit|Remove xaml<pieCharts:PieChart Percentage="70" Radius="200" BackgroundColor="AliceBlue" Segment360Color="DeepSkyBlue" SegmentColor="Teal" StrokeThickness="30" /> <pieCharts:PieChart Percentage="70" Radius="200" BackgroundColor="AliceBlue" Segment360Color="DeepSkyBlue" SegmentColor="Teal" StrokeThickness="30" /> Here is following a sample to add Pie Chart by using C#: C# Edit|Remove csharpvar pieChart = new PieChart { Percentage = 70, Radius = 200, BackgroundColor = new SolidColorBrush(Colors.AliceBlue), Segment360Color = new SolidColorBrush(Colors.DeepSkyBlue), SegmentColor = new SolidColorBrush(Colors.Teal), StrokeThickness = 30 }; var pieChart = new PieChart { Percentage = 70, Radius = 200, BackgroundColor = new SolidColorBrush(Colors.AliceBlue), Segment360Color = new SolidColorBrush(Colors.DeepSkyBlue), SegmentColor = new SolidColorBrush(Colors.Teal), StrokeThickness = 30 }; And here is the resulting page containing 5 pie charts: |