HoussemDellai / Xamarin-Forms-Pie-Chart

Enrich your mobile application with Pie Charts.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Xamarin-Forms-Pie-Chart

Enrich your mobile application with Pie Charts.

Supported platforms:

  1) Xamarin for Android
  2) Windows Phone Silverlight
  3) Windows Phone RT
  4) Windows Store
  iOS is not supported yet!

To add a Pie Chart control from your Xamarin Forms project (XAML or CSharp):

var crossPieChartView = new CrossPieChartView
{
  Progress = 60,
  ProgressColor = Color.Green,
  ProgressBackgroundColor = Color.Gray,
  StrokeThickness = Device.OnPlatform(10, 20, 80),
  Radius = Device.OnPlatform(100, 180, 160),
  BackgroundColor = Color.White
};

Here is a video that shows how to install and use the plugin : https://www.youtube.com/watch?v=9alb3AFHkRs

The nuget package is available at : https://www.nuget.org/packages/Xam.FormsPlugin.CrossPieChart/

This plugin was built developed using existing work from:

James Montemagno : https://github.com/jamesmontemagno/MonoDroidToolkit/wiki/HoloCircularProgressBar/

Timo Korinth : http://timokorinth.de/creating-circular-progress-bar-wpf-silverlight/

About

Enrich your mobile application with Pie Charts.


Languages

Language:C# 92.2%Language:HTML 5.1%Language:CSS 2.7%