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.
Unfortunately, activation email could not send to your email. Please try again.

Chart won't render in IOS

Thread ID:

Created:

Updated:

Platform:

Replies:

119210 May 22,2015 03:42 AM May 26,2015 08:41 AM Xamarin.Forms 3
loading
Tags: SfChart
RIk
Asked On May 22, 2015 03:42 AM

Hi,

In my page i have a chart wrapped in a stacklayout, but in ios the grid won't render.
On WP8 it does render, also wrapped in a grid same problem if i remove the grid or stacklayout wrapper is does render.
Any solution for this?

Yuvaraj Palanisamy [Syncfusion]
Replied On May 22, 2015 08:49 AM

Hi Rlk,

Thanks for using Syncfusion products.

We have analyzed your requirement. In order to place the chart inside StackLayout or GridLayout with available space, you have to set VerticalOptions (HorizontalOptions for horizontal StackLayout) property of Chart to FillAndExpand as like in below code snippet.

Code snippet[C#]:

Chart.VerticalOptions = LayoutOptions.FillAndExpand;




Please let us know if you require further assistance on this.

Thanks,
Yuvaraj P

RIk
Replied On May 26, 2015 02:33 AM

Thx Yuvaraj !! It's working !!

Yuvaraj Palanisamy [Syncfusion]
Replied On May 26, 2015 08:41 AM

Hi Rlk,

Thanks for the update.

Please let us know if you require further assistance on this.

Thanks,
Yuvaraj P

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.

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.

;