Pie Chart

I'm not having any luck getting the Xamarin.iOS SFChart PieSeries to work. Looking over the online documentation and forum posts, I can't seem to find anything up to date. The legend appears on my app's UI, but nothing more than that. If someone could post any examples of simply getting a pie chart to display on screen, that would be greatly appreciated, thank you. 

3 Replies

DV Divya Venkatesan Syncfusion Team December 5, 2017 10:59 AM UTC

Hi Trey,

We have done a simple sample with Pie chart in Xamarin.iOS. Please download the sample from following location.

Sample: http://www.syncfusion.com/downloads/support/forum/134885/ze/PieChartSample1076497155

Please let us know, if you need any further assistance.

Regards,
Divya Venkatesan



TP Trey Pero December 6, 2017 03:44 PM UTC

This works perfectly, thank you! I just have one more question. My legend has too many labels to fit the screen on one line. Is there a way to wrap the legend text, for when it runs off the view? 


DV Divya Venkatesan Syncfusion Team December 7, 2017 08:47 AM UTC

 Hi Trey,

You can the wrap the Legend items using the OverflowMode property of Legend. Please find the code snippet below.
 
 
            chart.Legend.Visible = true; 
            chart.Legend.OverflowMode = ChartLegendOverflowMode.Wrap; 

Please let us know if you need any further assistance on this.

Regards,
Divya Venkatesan
 


Loader.
Up arrow icon