We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Piechart labels exceed visible area in IOS when OutsideExtended

Thread ID:

Created:

Updated:

Platform:

Replies:

123555 Mar 30,2016 02:33 PM UTC Mar 31,2016 04:30 PM UTC Xamarin.Forms 1
loading
Tags: SfChart
Giorgos Papadakis
Asked On March 30, 2016 02:33 PM UTC

Hi,

Just started testing my Xamarin forms app to IOS and i came up with the following problems.
1) The pie parts is over exploded than in android
2) I am using smartlabels with DataMarkerPosition = CircularSeriesDataMarkerPosition.OutsideExtended. The label in top,bottom of the pie control exceed the visible area and the dont appear or a portion of them appear.
The pie is inside a stacklayout
       new StackLayout()
                    {
                        Orientation = StackOrientation.Vertical,
                        Spacing = 14,
                        HorizontalOptions = LayoutOptions.EndAndExpand,
                        Padding = new Thickness(0, 0, 14, 14),
                        VerticalOptions = LayoutOptions.Center,
                        Children =
                        {
                            chart
                        }
                    }

See the attached images



Thanks
George

Attachment: pie_chart_66ba3d56.rar

Manivannan Elangovan [Syncfusion]
Replied On March 31, 2016 04:30 PM UTC

Hi George,

Thanks for contacting Syncfusion support.

If we need to get the similar output in all the platforms, we need to set the platform specific values for ExplodeRadius property, using Device.OnPlatform(). If the data marker labels crops, even after setting platform specific value, then we need to adjust the radius of the pie series by setting the CircularCoefficient value between 0 and 1.

We have prepared a sample based on your requirement and it can be downloaded from the below location.

Sample: http://www.syncfusion.com/downloads/support/forum/123555/ze/PieSeries-1234596470

Thanks,
Manivannan E.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;