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

X axis labels in sfchart

Thread ID:





130943 Jun 12,2017 11:38 PM UTC Jun 16,2017 03:48 AM UTC Xamarin.Forms 3
Tags: SfChart
Naveen C Ramachandrappa
Asked On June 12, 2017 11:38 PM UTC


I am using sfchart in my xamarin forms app . PFB the snapshot. Since the lables are long , I would want to wrap it so that it does not overlap.

I checked LabelsIntersectAction but that does not provide option to wrap. If I set LabelsIntersectAction to multiple rows, that would not help. Please check the snapshot below. It will still confuse users. I am looking at showing one word and then wrap to next row. Is there a way to achieve this?

Saravana Pandian Murugan [Syncfusion]
Replied On June 13, 2017 04:17 PM UTC

Hi Naveen,

Thanks for using Syncfusion products.

You can achieve this requirement by splitting the XValue with “\n”. Please download the sample from the following location.

Sample: http://www.syncfusion.com/downloads/support/forum/130943/ze/CustomLegendLabel-1678466996

Please check the sample and let us know if you need further assistance on this.

Saravana Pandian M.

Naveen C Ramachandrappa
Replied On June 15, 2017 12:55 AM UTC


I used it but it behaves differently. Snapshot below. As you can it is influencing even the next set of labels.

Note: I am not using ChartDataPoint as per your sample. I have used my own class as I need more properties. Is it because of that? If yes, Let me know if I can inherit from this and define my own properties and then get a descent look for the labels as per your sample

Saravana Pandian Murugan [Syncfusion]
Replied On June 16, 2017 03:48 AM UTC

Hi Naveen,

Thanks for your interest in Syncfusion components.

We were able to reproduce the reported issue at our end. A support incident has been created under your account and we request you to login into our Direct Trac support system for further updates on this issue. Our Direct Trac support system can be accessed from the following link.

Link: https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents  

Saravana Pandian M.


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