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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

iOS crash when setting font sizes

Thread ID:





117603 Nov 14,2014 10:24 AM UTC Nov 26,2014 04:47 AM UTC Xamarin.Forms 4
Tags: SfChart
Steen Steiniche
Asked On November 14, 2014 10:24 AM UTC

I have a problem setting font sizes if SfChart for iOS. An example:

chart.Title = new ChartTitle
TextAlignment = TextAlignment.Center,
Text = "Title text",
Font = Font.SystemFontOfSize(12)

The Font.SystemOfSize makes my iOS app crash - it works if i comment the line out. What am I doing wrong?

Prabakaran R [Syncfusion]
Replied On November 14, 2014 10:45 AM UTC

Hi Steen,

Sorry about the inconvenience caused. 


We are able to reproduce the issue in iOS Xamarin.Forms. We will fix this issue in our next service pack release which is expected to be rolled out in the end of November, 2014. However, we have provided workaround for this issue in the below forum thread,


Please let us know if you have any queries.



Miha Markic
Replied On November 20, 2014 12:11 PM UTC

A workaround I've found is to use Font.OfSize("Arial", size) or, I guess, other font families might work as well.

Suresh B [Syncfusion]
Replied On November 20, 2014 01:42 PM UTC

Hi Steen,

Yes. You can provide all the platform specific font families, please refer the following code snippet,
Code snippet [C#]:
Font font = Device.OnPlatform(
iOS:      Font.OfSize ("MarkerFelt-Thin", 18),
Android:  Font.OfSize ("Droid Sans Bold", 18),
WinPhone: Font.OfSize ("Courier New", 18)
chart.Title = new ChartTitle(){ Text = " Chart Header", Font =font};
Please let us know if you require further assistance on this.

Suresh B.

Suresh B [Syncfusion]
Replied On November 26, 2014 04:47 AM UTC

Hi Steen,


We are glad to announce that our Service pack 1 for Vol 3 2014 is rolled out and is available for download under the following link.




We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.



Suresh B


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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