I need to create an app which contains some pie charts. I'd like to do this using Xamarin Forms. Does anyone have any suggestions for cross platform libraries that will handle this. Thanks
Infragistics and Telerik have Forms libraries but they aren't free. I have also made some pie charts using JRaphael and HybridWebView (big benefit is they look the same on all platforms).
How about the XLabs Charting? https://github.com/XLabs/Xamarin-Forms-Labs/wiki/Charting
Won't you recommend that?
(I didn't use it yet but plan to in the future)
The xlabs charts won't work, i've tried these but the won't render, no error either.
The XLabs charts are very raw and I haven't really looked into them in detail.
You can also try Syncfusion chart. It is just $99.
OxyPlot is open source, is actively worked on and is a component:https://components.xamarin.com/view/oxyplothttp://oxyplot.org/documentation/hello-xamarin-forms
OxyPlot is the best I think. Its free & does more than the paid components!
Thanks for all the feedback. I found a fee based product called Steema TeeChart which has some nice looking features - in particular a speedometer graph. I've been having some problems with it because the samples use some obsolete methods. I'll post those questions on a separate thread.
Hi Is there any free package or component provided by the Xamarin to use them and design the good UI for Graphs and Piecharts kind of thing .
if you are a student syncfusion is free and is awesome
You can also check Syncfusion community license.
You can work with OxyPlot or XLabs
They are free, simple
You can use FREE and even open source Pie Chart for your Xamarin Forms project targeting Android, Windows Store, Windows Phone Silverlight and RT.
Here is a video a video that will show you how:
It is available as a nuget package https://www.nuget.org/packages/Xam.FormsPlugin.CrossPieChart/
The syntax-is-my-ui site shows a stupidly easy way to make a set of graphs.
With a bit of tinkering, it could make really nice graphs.
But if tinkering is not your thing, the syncfusion stuff is pretty good.
@Houssem Dellai: Thanks for making the video - very generous of you.
I really want to try it, because I want a donut graph in my app, but I am too schnorrer to pay for anything.
I have played around with OxyPlot and I think it has good potential. I was surprised how good it looked (as it hasn't always been the most attractive choice). Attached is a quick sample of how to create a donut control. There is a custom value converter that allows the view to be bound to a double in a view model so you don't need to create dependency to OxyPlot in your VM. I am sure the layout could be more efficient by creating a compound control of it but I was wanted a quick demo so I copy-pasted the views...
Here is a complete step-by-step on how to use OxyPlot to create pie-chart for Xamarin.Forms application.https://codemagik.wordpress.com/2016/11/09/create-oxyplot-pie-chart-for-xamarin-forms-application/
any suggestions for showing "realtime" sensor data on screen?
Find a free html5 chart library. Add this library to your project and use this in a WebView. Xamarin supports local html source.
try this link for xamarin.forms
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies