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

Pink is the new Gray

Thread ID:





117464 Oct 26,2014 03:00 AM UTC Oct 28,2014 06:45 AM UTC Xamarin.Forms 3
Tags: SfChart
Michael O'Connor
Asked On October 26, 2014 03:00 AM UTC

I have an unusual problem with the charts for Xamarin.  I can assign any colors to custom brushes except gray or grayish colors.  Red looks like red, green looks like green, blue looks like blue, but gray, silver, RGB (200,200,200), etc. all come out pink.  I even tried tweaking the RGB just a tad to fool it, e.g. RGB (200,200,202) - no dice, still pink.  Unfortunately gray is sort of an important color for my theme.

Karthikeyan V [Syncfusion]
Replied On October 27, 2014 10:55 AM UTC

Hi Michael,

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 will be available at the end of November, 2014.  However, you can resolve this issue by using following workaround,

Code snippet [C#]:

Color color = Color.Gray;
ColumnSeries series = newColumnSeries ();
series.Color = Device.OnPlatform (Color.FromRgba (color.R / 255, color.G, color.B / 255, color.A / 255), color, color);

We have prepared a sample based on this and you can find the sample in the following location.

Disclaimer: The date for the release is tentative and not a commitment on our parts.

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


Karthikeyan V

Attachment: SimpleChartSample_b3719ad.zip

Michael O'Connor
Replied On October 27, 2014 09:47 PM UTC

Thanks for providing the workaround, it works.

Karthikeyan V [Syncfusion]
Replied On October 28, 2014 06:45 AM UTC

Hi Michael,

Thanks for the update.

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


Karthikeyan V


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

or the page will be automatically redirected to 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