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.

Axis title only working for iOS

Thread ID:

Created:

Updated:

Platform:

Replies:

117601 Nov 14,2014 03:35 AM Nov 25,2014 11:36 PM Xamarin.Forms 5
loading
Tags: SfChart
Steen Steiniche
Asked On November 14, 2014 03:35 AM

I am setting the primary and secondary axes titles in SfChart like this:

chart.PrimaryAxis.Title = new ChartAxisTitle()
{
Text = "P axis title"
};

chart.SecondaryAxis.Title = new ChartAxisTitle()
{
Text = "S axis title"
};

The titles only appear on an iOS device, not on Android and Windows Phone. Am I doing something wrong?

I have used SyncFusion's ChartGettingStarted project.

Steen Steiniche
Replied On November 14, 2014 06:21 AM

Correction: it also works for Android, so the problem only concerns Windows Phone.

Prabakaran R [Syncfusion]
Replied On November 14, 2014 06:36 AM

Hi Steen,


Thanks for using Syncfusion products.


We are unable to reproduce the reported issue on Windows phone. Could you please provide us more details regarding the issue also kindly revert back to us with the modified sample if you still face the issue?


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

 


Regards,


Prabakaran


Attachment: Sample_55544c61.zip

Steen Steiniche
Replied On November 14, 2014 07:42 AM

Hi Prabakaran

Thanks for your quick reply. 

Your sample helped me locate to root cause of my problem. Windows Phone IS able to show axis titles. It is NOT possible, however, to change to font color of the axis titles. Since I have placed the chart in a view with a white background, the titles are not visible because their default color is white and cannot be changed. The following has no effect:

chart.PrimaryAxis.Title = new ChartAxisTitle()
{
Text = "P axis title",
TextColor = Color.Red
}; 

Hope you can reproduce this on your side.

Thanks

Prabakaran R [Syncfusion]
Replied On November 14, 2014 09:30 AM

Hi Steen,
 
Sorry for the inconvenience caused. 
 
We are able to reproduce the issue, 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, you can resolve this issue by set the Font property without creating new instance for Title.
 
We have prepared a sample based on this and you can find the sample in the following location.
 
Please let us know if you require further assistance on this.
 
Thanks,
Prabakaran


Attachment: ChartAxisTitleSample_b8480054.zip

Suresh B [Syncfusion]
Replied On November 25, 2014 11:36 PM

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. 


http://www.syncfusion.com/forums/117667/essential-studio-2014-volume-3-service-pack-release-v12-3-0-38-available-for-download


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.


Regards,

Suresh B


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.

;