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.

Line Break on X-Axis Label & Coordinate of Column

Thread ID:

Created:

Updated:

Platform:

Replies:

119464 Jun 24,2015 09:48 PM Aug 18,2016 03:09 AM Xamarin.Forms 9
loading
Tags: SfChart
Ken Wong
Asked On June 24, 2015 09:48 PM

Hi there,

First and foremost, I would like to ask if it is possible to make a line break on the X-Axis Label?  

Also, can we get the coordinate of each column in the Column Series? 

Thanks,
Ken Wong 

Yuvaraj Palanisamy [Syncfusion]
Replied On June 25, 2015 08:23 AM

Hi Ken,

Thanks for contacting Syncfusion support.

We have created a support incident under your account to track the status of this query. Please log on to our support website to check for further updates.

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

Please let me know if you have any questions.

Thanks,
Yuvaraj

Ken Wong
Replied On June 25, 2015 11:39 AM

Hi Yuvaraj,

Thanks for informing. Also, I have one more question to ask.

Is it possible to get and set the width for each column ? 

Thanks in Advanced.

Regards,
Ken Wong

Ken Wong
Replied On June 26, 2015 02:16 AM

Hi Yuravaj,  

I think I have figured out the way of getting the width alternatively. I just use the chart width divides the number of columns. 

There is one last question I would like to ask. How do we disable the On Touch selection event? For example, now I'm doing the selection via scrolling but I don't want users to touch the columns in order to select. Is there a way of disabling the on touch selection? 

Thanks and sorry for the trouble.

Regards,
Ken Wong

Magesh Kumar Krishnan [Syncfusion]
Replied On June 26, 2015 09:34 AM

Hi Ken,

We can disable the selection by set the Cancel property as true in SelectionChanging event of Chart, please use the following code snippet to disable the selection,

Code Snippet [C#]:

chart.SelectionChanging += chart_SelectionChanging;
.....
.....
void chart_SelectionChanging(object sender, ChartSelectionChangingEventArgs e)
{
e.Cancel = true;
}

Please let us know if your further assistance.

Thanks,
Magesh Kumar K

Ken Wong
Replied On July 1, 2015 10:17 PM

Hi Magesh,

The given solution is working well to prevent users from selecting different columns, but they can still deselect the column. 

Is it possible to forbid them to deselect the column as well ?

Thanks in Advanced.

Thanks,
Ken Wong


Ken Wong
Replied On July 2, 2015 02:44 AM

Sorry, I think it was my mistake, the condition that I used seem to be the root cause of this.

Thanks for the solution and sorry for the trouble.

Thanks,
Ken Wong

Yuvaraj Palanisamy [Syncfusion]
Replied On July 2, 2015 05:08 AM

Hi Ken,

Thanks for the update.

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

Thanks,
Yuvaraj

David Myers
Replied On August 16, 2016 11:29 PM

Hi,

Was a solution found to allow line breaks in axis labels? We'd also like to utilize this feature.

Yuvaraj Palanisamy [Syncfusion]
Replied On August 18, 2016 03:09 AM

Hi David, 

We have logged this as a feature request in our database. We will implement this feature in upcoming volume 2 service pack 2 release and it is estimated to be rolled in the end of August, 2016.  
 
Thanks, 
Yuvaraj 


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.

;